How to force a value for a form element: Toggle?
In the step-by-step wizard form, I use dynamically generated fields, including the Toggle-field:
Forms\Components\Toggle::make('f'. $_field['id'].'yn')
->label('Yes / No?')
->onIcon('heroicon-s-check-circle')
->default(true)
->columns(1)
->onColor('success')
->inline(false)
->nullable(),
I'm getting an error from LiveWare!
How can I generate the value of this field myself so that Filament does not calculate it?0 Replies