boyuai / antd-country-phone-input

Country phone input component as standard Ant.Design form item
https://boyuai.github.io/antd-country-phone-input/
60 stars 35 forks source link

how to format the incoming number as a default value #85

Open QusaiAlghalil opened 1 year ago

QusaiAlghalil commented 1 year ago

I am receiving the phone number form the server like this '+42 xxx xxx' how could I set it as a default value since the component accept the value as an object includes the code, number and the short !!