Looks like I accidentally replied to a separate thread about this on the SmartGWT board. So, I'll post here as well. The floatRange validator only works with whole numbers and not decimals. Is that something you'll be able to fix in the near future?
Announcement
Collapse
No announcement yet.
X
-
From your 8.0 SDK Feature Explorer, I edited this sample:
http://localhost:8080/isomorphic/system/reference/SmartClient_Explorer.html#validationBuiltins
I changed the integer to a float as follows:
Code:<DataSource ID="builtins"> <fields> <field name="floatField" type="float" title="Float"> <validators> <validator type="floatRange" min="1.1" max="20.1"/> </validators> </field> </fields> </DataSource>
Comment
Comment