How to add a colon after every 2 characters and also handle remove?

后端 未结 0 576
天涯浪人
天涯浪人 2021-01-15 20:11

I have a TextInput where I want the input to be formatted as a mac address as the user types, e.g. AA:BB:CC:DD:EE:FF I have that working as follows;

相关标签:
回答
  • 消灭零回复
提交回复
热议问题