CodeWithDennis / filament-select-tree

The multi-level select field lets you pick one or multiple options from a list that is neatly organized into different levels.
MIT License
225 stars 32 forks source link

Added parent attribute to node #74

Closed iotron closed 9 months ago

iotron commented 9 months ago

adding 'parent' => $result->{$this->getParentAttribute()}, enables us to do additional customisation in the afterStateUpdated hook. eg. auto updating parent ids on children selection