react-intl-tel-input
react-intl-tel-input copied to clipboard
Cannot set the "readonly" attribute using "telInputProps"
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 } />
Did you tried to pass readOnly: true