Fábio Matte Posted June 27, 2018 Share Posted June 27, 2018 How do I let UnimNumberEdit allow me to put a '0' on the left? For example: I have two situations. 1st Situation: I need to put in a field the prefix of the phone 069, but when I leave the field it is only 69. 2nd Situation: I have a vehicle registration, and in this register I inform him of his license as follows. In a UniEdit I inform the letters of the board: NBH and in a field UnimNumberEdit I must inform the numbers of the board: 0985, but when I leave the field UnimNumberEdit automatically it converts to 985. The final result should be NBH-0985, but it's getting NBH-985. So I need the UnimNumberEdit field to accept 0 on the left. Is there any way to do this? Link to comment Share on other sites More sharing options...
mhmda Posted June 27, 2018 Share Posted June 27, 2018 1. With UniNumberEdit you cannot. 2. Use UniEdit with InputMask https://docs.sencha.com/extjs/6.5.2/modern/Ext.field.InputMask.html Link to comment Share on other sites More sharing options...
Fábio Matte Posted June 28, 2018 Author Share Posted June 28, 2018 1. With UniNumberEdit you cannot. 2. Use UniEdit with InputMask https://docs.sencha.com/extjs/6.5.2/modern/Ext.field.InputMask.html Thank you, that was it, it worked. Link to comment Share on other sites More sharing options...
SISBLU Software Posted December 20, 2018 Share Posted December 20, 2018 Fábio como vc colocou o código no edit? não estou conseguindo Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now