2

I want split input box for otp. How can I do that in angular 4? is there any npm package?

enter image description here

  • 1
    you can check https://www.npmjs.com/package/angular2-text-mask – Sravan May 28 '18 at 05:07
  • 1
    There are some packages I've used.. Google for angular iput masks. [angular2-text-mask](https://www.npmjs.com/package/angular2-text-mask) , [ng2-inputmask](https://www.npmjs.com/package/ng2-inputmask) – Anuradha Gunasekara May 28 '18 at 05:08
  • you can check https://stackoverflow.com/questions/41698357/how-to-partition-input-field-to-appear-as-separate-input-fields-on-screen and this [jsfiddle](http://jsfiddle.net/KxUgt/89/) too. – Fateme Fazli May 28 '18 at 05:11
  • Nice one. @FatemeFazli Try to copy and paste on that jsfiddle example – Ilesanmi John Sep 17 '22 at 00:12

0 Answers0