How can one remove the client side validation that is created by default by tapestry for numeric fields?
I am using Tapestry 5.4 26 beta and for every double field in my entities a client validator is added which prevents the user to enter a fractional number.
For example:
@Entity
@Table(name = "UNITS")
public class Unit{
....
private Double val;
public void setVal(Double val)...
public Double getVal()....
}
<input t:type="TextField" t:value="unit.val" />
On entering 5.55 for example it won't let the form to be submitted and show a message "Please select a valid value. The two nearest valid values are 5 and 6.".
Aucun commentaire:
Enregistrer un commentaire