View Full Version : How to restrict Number Field default value set to '0'

2 Feb 2016, 2:26 PM
Hello Guys,

I am using Extjs 3.4, I have a grid where I use editor function and form of NumberField type.
Here is my scenario, when the user starts editing a number field and immediately clears it and navigating to next page makes the field value set to '0' with dirty flag set which i dont want.
So, please help me out in having the control over the cell edited and also get the value i updated in the cells.

Thanks in advance,

Gary Schlosberg
2 Feb 2016, 3:57 PM
Is the user normally restricted from entering a zero value?

3 Feb 2016, 7:05 AM
Hi Gary, User can in fact enter zero in the field as well. So if the user starts editing an field, clears the field without no value in the field and submits to next page then it forcibly making the field value set to zero value which the user not intended.Thanks,rk