flutter_form_builder icon indicating copy to clipboard operation
flutter_form_builder copied to clipboard

[FormBuilder] show errors after form saved

Open Raviteja11122 opened this issue 3 years ago • 4 comments
trafficstars

I have added local validations and using validate(), and save() methods after the API call I'm getting server validation errors and I need to show them in the form.

Raviteja11122 avatar Aug 12 '22 15:08 Raviteja11122

Do you try use method invalidate()?

deandreamatias avatar Aug 12 '22 17:08 deandreamatias

Take a look to this methods in readme @Raviteja11122

deandreamatias avatar Aug 12 '22 20:08 deandreamatias

@deandreamatias I'm already using those once i use validate() and save() methods the invalidate() and invalidateField() is not showing errors

Raviteja11122 avatar Aug 13 '22 04:08 Raviteja11122

Share a minimal sample code please

deandreamatias avatar Aug 13 '22 08:08 deandreamatias

Something wrong with my code package is working as expected.

Raviteja11122 avatar Sep 10 '22 08:09 Raviteja11122