vanshg395 / intl_phone_field

A customised Flutter TextFormField to input international phone number along with country code.
https://pub.dev/packages/intl_phone_field
MIT License
177 stars 505 forks source link

validation isn't works!! #401

Open AKASH-ROYAL opened 2 months ago

AKASH-ROYAL commented 2 months ago
validator: (value) {
       if (isRequired && (value!.number.isEmpty)) {
        return 'Please enter phone number*';
      }
      return null;
    }

I implemented this validation within the form, but it’s not working as expected

lohith-CC commented 2 months ago

Facing the same issue, please fix this

mani53-dev commented 2 months ago

Facing the same issue.

xeinebiu commented 1 month ago
image

+41 should be Switzerland and not italy.

image
neoacevedo commented 1 month ago

The repo is not longer maintained so no responses from the devs will be posted here. Please check the README

omarmaamoun179 commented 1 month ago

The repo is not longer maintained so no responses from the devs will be posted here. Please check the README

did you fix the validation ?