react-intl-tel-input
react-intl-tel-input copied to clipboard
autoPlaceholder props doesn't work anymore
Hello,
autoPlaceholder props doesn't work anymore on [email protected]. Placeholder is empty.
Expected Behavior
field placeholder should automatically display phone number format.
Current Behavior
<IntlTelInput
defaultCountry=""
fieldId="phonenumber"
fieldName="phonenumber"
inputClassName={`form__field ${className}`}
autoPlaceholder={true}
onPhoneNumberChange={(valid, phone, country) => {
this.checkField(phone, country)
}}
/>
Possible Solution
I downgraded the package to the version 7.1.1 and it works as expected.
Environment
v8.0.2
Maybe this feature has been removed on major version 8 but it still in the "documentation".