- Notifications
You must be signed in to change notification settings - Fork 549
Closed
Description
What I need to have input field with placeholder '(5__) --_' and let user write phone number without country code.
So I have the configuration as:
<PhoneInput inputProps={{ name: 'mobileNumber', required: true, }} containerClass='ui input' country={'tr'} value={mobileNumber} onChange={(phone) => handlePhoneNumberInput({ phone },'mobileNumber')} placeholder='(5__) ___-__-__' disableDropdown jumpCursorToEnd={false} masks={{ tr: '(...) ...-..-..' }} countryCodeEditable={false} /> This configuration does not show the placeholder and only "+90" takes place in input field as placeholder. I can type the 10 digit rest of the number without problem next to '+90' but what is the exact configuration for showing placeholder as '(5__) --_' and let user type their 10 digit number without country code?
Metadata
Metadata
Assignees
Labels
No labels