IntlPhoneInput icon indicating copy to clipboard operation
IntlPhoneInput copied to clipboard

how to set error message to field if number is not valid

Open nisarkhalid opened this issue 7 years ago • 1 comments

if number id not valid then how to set error message my previous field was showing error as phoneNumber.setError(getString(R.string.error_invalid_phone));

nisarkhalid avatar Nov 27 '17 16:11 nisarkhalid

enclose this IntlPhoneInput view in TextInputLayout. And then use the error showing mechanism of the TextInputLayout. I have used it and it is working quite well. If you face any problem ping back. Happy coding :) @nisarkhalid

WajidAli007 avatar Feb 07 '18 06:02 WajidAli007