alexplumb / material-ui-phone-number

Fork of react-phone-input-2 for the Material-UI library
MIT License
122 stars 182 forks source link

Bug: countryCodeEditable={false} allows editing country code #92

Open vinaysheelwagh opened 3 years ago

vinaysheelwagh commented 3 years ago

countryCodeEditable={false}, does not make country code non-editable.

<MuiPhoneNumber
       enableLongNumbers
       defaultCountry={'ie'}
        value={value}
        disableAreaCodes
         countryCodeEditable={false}
    />
dalalRohit commented 3 years ago

yes, i'm also facing the same issue. it is not editable naively, but if you place your cursor in between the country code and edit, it allows to do so

bherila commented 3 years ago

Could you try to repro on the latest master branch, and submit a PR so we can fix it :)

nurullah commented 2 years ago

Could you try to repro on the latest master branch, and submit a PR so we can fix it :)

I created a pull request for this problem.

https://github.com/alexplumb/material-ui-phone-number/pull/126

AliLop commented 2 years ago

Is this gonna be fixed soon :) ? I'm facing this issue

sweety-124 commented 2 years ago

does this issue still persist??