Fábio Matte Posted June 27, 2018 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? Quote
mhmda Posted June 27, 2018 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 Quote
Fábio Matte Posted June 28, 2018 Author 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. Quote
SISBLU Software Posted December 20, 2018 Posted December 20, 2018 Fábio como vc colocou o código no edit? não estou conseguindo Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.