custom form field without database just form

I want to make changes within a form using a field that is not in the database. Based on the toggle value, I will hide or show another field, but the toggle itself will not be in the database. Toggle::make('kismi_teklif') // not in database just form ->live() ->onColor('success') ->offColor('danger') ->label('İhale Kısmi Teklife Açık Mı?'), TextInput::make('kisim_sayisi') ->label('Kısım Sayısı') ->numeric() ->visible(fn (Get $get) => $get('kismi_teklif') === true),
2 Replies
LeandroFerreira
LeandroFerreira6mo ago
GitHub
Custom Field without database column · filamentphp filament · Discu...
Package Form builder Package Version v3.0.0 How can we help you? I want to make changes within a form using a field that is not in the database. Based on the toggle value, I will hide or show anoth...
Want results from more Discord servers?
Add your server