solutionforest / filament-tree

Filament Tree is a plugin for Filament Admin that creates a model management page with a heritage tree structure view. This plugin can be used to create menus and more.
MIT License
136 stars 45 forks source link

Fix issues with $fillable vs $guarded #35

Closed dev closed 10 months ago

dev commented 12 months ago

When using $guarded = ['id'] instead of $fillable, there is no need to add attributes to the $fillable array. This resolves issues I encountered while using $guarded = ['id'] on my model.