numberfield7 - Vaadin Add-on Directory
Modification of TextField for only number inputThis is addon modification of TextField, which accepts only number input and has configuration:
1. Minimum value. If value this property != null - validates value for minimum;
2. Maximum value If value of this property != null - validates value for maximum;
3. Method getDoubleValue returns null, if string value is invalid number;
4. Character of decimal separator. Default = '.';
5. Decimal length. Default = 0;
6. Character of grouping separator. Default = space;
7. Is signed. Default = true;
8. Is use grouping. Default = false;
Online Demo