I am trying to put a validation on a ListGridField. And, I have added that validation in DataSource.xml file. So when ever I trigger that validation, it appears as multiple time on screen. It started happening after that latest smartGWT update, before that it was working fine.
For example -
ListGrid -
final List<ListGridField> fields = new ArrayList<>();
final ListGridField rating = new ListGridField("rating");
rating.setEditorProperties(decimalEditor);
fields.add(rating);
DataSource.xml -
<field name="rating" type="float" precision="12" decimalPrecision="2" format="0.0#'%'" javaClass="java.math.BigDecimal">
<validators>
<validator type="floatRange" min="-100" max="100"/>
</validators>
</field>
So, whenever I try to enter a value less than 100 or more than 100, i get the validation and when ever i hover on that validation, it is shown as multiple times-
For example -
ListGrid -
final List<ListGridField> fields = new ArrayList<>();
final ListGridField rating = new ListGridField("rating");
rating.setEditorProperties(decimalEditor);
fields.add(rating);
DataSource.xml -
<field name="rating" type="float" precision="12" decimalPrecision="2" format="0.0#'%'" javaClass="java.math.BigDecimal">
<validators>
<validator type="floatRange" min="-100" max="100"/>
</validators>
</field>
So, whenever I try to enter a value less than 100 or more than 100, i get the validation and when ever i hover on that validation, it is shown as multiple times-
Comment