Newlines, textfield sets the cursor position appropriately
This commit is contained in:
parent
984d88d01e
commit
223f6191cd
6 changed files with 10 additions and 16 deletions
|
@ -90,7 +90,7 @@ export default class ValidatedTextField {
|
|||
return parsePhoneNumberFromString(str, country?.toUpperCase())?.isValid() ?? false
|
||||
},
|
||||
(str, country: any) => {
|
||||
console.log("country formatting", country)
|
||||
console.log("reformatting phone nuber",str, "for locale", country)
|
||||
return parsePhoneNumberFromString(str, country?.toUpperCase()).formatInternational()
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue