filament-tree icon indicating copy to clipboard operation
filament-tree copied to clipboard

Allow null value for default parent_id

Open tgeorgel opened this issue 5 months ago • 0 comments

When working with packages such as Laravel tree, we need the parent-less models to have null as parent_id.

Currently, if we configure null in the configuration file, it is parsed to 0 because of the integer cast of the plugin.

This change allow setting null as the default parent id, which doesn't seems to break the plugin on my setup.

tgeorgel avatar Oct 02 '24 08:10 tgeorgel