Replies: 1 comment
-
I’ve released a plugin which fits your needs! See: https://filamentphp.com/plugins/maartenpaauw-model-states |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
What about to make Forms\Components\Select to handle spatie/laravel-model-states?
Maybe like:
Forms\Components\Select::make('state')->options(MyModelState::class)
When selected option changes, make
state->transitionTo( MyOption::class)
Beta Was this translation helpful? Give feedback.
All reactions