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?
Was this page helpful?