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?
photo_2023-09-25_12-36-06.jpg
Was this page helpful?