How to Trim TextInput field before data is saved?
Is there any way?
I can make a Macro, but I need to include afterStateUpdated inside the Macro, will it give a problem with some field using afterStateUpdated too?
4 Replies
thank you Leandro, but it will disabel the use of dehydrateStateUsing on the field, is there any way to use both in the field and the Macro?
Filament
Creating records - Resources - Admin Panel - Filament
The elegant TALL stack admin panel for Laravel artisans.
I am also curious about this, seems very hard to get it to by default trim strings, anyone has a good idea on this?