maikhorma
12 Sep 2012, 10:56 AM
Couldn't find any existing posts about this, but it's pretty straight forward:
Drop a numberfield anywhere.
Set decimalPrecision to 4.
Set maxValue to 99.9999.
Notice architect rounded it to 100.
This is a problem because this will now allow the user to enter 100, which is not a valid value. Looks like architect assumes the default precision of 2 and ignores your setting.
A resolution would to make the rounding depend on what you have in the decimalPrecision property of the same numberfield.
Edit: Forgot my info
Windows 7 64-Bit
Sencha Architect 2.1.0 Build: 613
Framework: Ext JS 4.1.0
Drop a numberfield anywhere.
Set decimalPrecision to 4.
Set maxValue to 99.9999.
Notice architect rounded it to 100.
This is a problem because this will now allow the user to enter 100, which is not a valid value. Looks like architect assumes the default precision of 2 and ignores your setting.
A resolution would to make the rounding depend on what you have in the decimalPrecision property of the same numberfield.
Edit: Forgot my info
Windows 7 64-Bit
Sencha Architect 2.1.0 Build: 613
Framework: Ext JS 4.1.0