react-intl-tel-input icon indicating copy to clipboard operation
react-intl-tel-input copied to clipboard

Cannot set the "readonly" attribute using "telInputProps"

Open kaitoqueiroz opened this issue 4 years ago • 1 comments

i'm attempting to set the readonly attribute using telInputProps, but it does not apply to the input.

<IntlTelInput telInputProps={ { readOnly: 'readonly' } } onPhoneNumberChange={ onChange } onPhoneNumberBlur={ onBlur } />

kaitoqueiroz avatar Jul 30 '19 10:07 kaitoqueiroz

Did you tried to pass readOnly: true

lo2aai avatar Nov 08 '21 01:11 lo2aai