Open rawatpb65 opened 8 months ago
I was facing the same and I figured its an issue with the code. But since the repo is no longer maintained, we have to make our own fork and fix it there.
You can take a look at how I fixed it here
However, I'm pretty sure this would stop your custom validator from working if you're using one. I wasn't and I couldn't be bothered about it so I did this as a quick fix.
Thanks @hani-hj1908619 Your solution worked for me, I just copy this file intl_phone_field.dart >> Renamed It >> Then Use It
all these participants save my day thank you @hani-hj1908619 @devsideal @rawatpb65
i have issue in validation. Suppose if user doesn't fill the phone field then form validation is not working until we interact with the field
if i do this : autovalidateMode: AutovalidateMode.always, it shows validation before trigger on button so it's not accurate for me
can you gave me solution of this may be i missed something but i want validation on empty filed not on intreraction.