简体   繁体   中英

Change Input Text Value- Angular2

I am working on angular 2 now... and I donno how to do this. In text box I need to type input value as 999-999-9999 format, While typing it should convert into xxx-xxx-9999. Again clicking on text box it should display it actual value.

If some one know how to do please help. Thanks in advance.

使用这个: -Angular2-text-mask

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM