Empty field on condition
I have the following schema:
I want to empty the select box if the toggle button
notify_unlock
is false. As far I tried:
- dehydrateStateUsing
- beforeStateDehydrated
None of them set the value of the Selectbox to null.
Kind regards,
ToniSolution:Jump to solution
```php
Toggle::make('notify_unlock')
->label(__('form.labels.notifyUnlock'))
->live()
->columnSpan(1)...
2 Replies