Closed omarabdelaz1z closed 9 months ago
I think there is something wrong with your logic. Disabling tree items depending on other fields works perfectly fine.
You might also want to check your afterStateUpdated
method:
->afterStateUpdated(function (?string $state, ?string $old) {
// ...
})
What happened?
Code Sample
How to reproduce the bug
https://github.com/CodeWithDennis/filament-select-tree/assets/59033999/e4436057-694e-4046-800a-a58352af50a7
Package Version
3.1.14
PHP Version
8.1
Laravel Version
10.10
Which operating systems does with happen with?
Linux
Notes
No response