Hi @catamphetamine! When I put the cursor in front of the + and enter the phone number, the country code is duplicated.
smartCaret doesn't fix this problem
Demo: https://skrinshoter.ru/vNTg8KgpepN
Code:
<PhoneInput
onChange={onChange}
value={defaultValue}
countries={['RU', 'BY']}
defaultCountry="RU"
international
addInternationalOption={false}
className={styles.phone}
countryCallingCodeEditable={false}
focusInputOnCountrySelection={false}
limitMaxLength
{...rest}
/>
Hi @catamphetamine! When I put the cursor in front of the + and enter the phone number, the country code is duplicated. smartCaret doesn't fix this problem Demo: https://skrinshoter.ru/vNTg8KgpepN Code: <PhoneInput onChange={onChange} value={defaultValue} countries={['RU', 'BY']} defaultCountry="RU" international addInternationalOption={false} className={styles.phone} countryCallingCodeEditable={false} focusInputOnCountrySelection={false} limitMaxLength {...rest} />