I have form fields in an app, I have some validations to perform like phone number should only have digits and not alphabets, however when user uses AutoFill option doing long press on textfield they have option to choose Contacts and they can tap on name and it will paste alphabets in my Phone number field, that behavior I don't want as my validations will not be fulfilled. There are no callbacks to detect and prevent that text from being pasted.
In shouldChangeCharactersIn delegate method even if I return false for that paste event it ignores that and forcefully it gets pasted.
Please help how to tackle such scenarios to perform above mentioned validations.
Thanks