| Method and Description |
|---|
| com.vaadin.flow.component.textfield.NumberField.getMaxLength()
Not supported by NumberField (as it's built on
<input type="number"> in HTML). You can set numeric
value constraints with NumberField.setMin(double),
NumberField.setMax(double) and NumberField.setStep(double). |
| com.vaadin.flow.component.textfield.NumberField.getMinLength()
Not supported by NumberField (as it's built on
<input type="number"> in HTML). You can set numeric
value constraints with NumberField.setMin(double),
NumberField.setMax(double) and NumberField.setStep(double). |
| com.vaadin.flow.component.textfield.NumberField.getPattern()
Not supported by NumberField (as it's built on
<input type="number"> in HTML). You can set numeric
value constraints with NumberField.setMin(double),
NumberField.setMax(double) and NumberField.setStep(double). For
setting a custom value pattern, use the TextField component
instead. |
| com.vaadin.flow.component.textfield.NumberField.isPreventInvalidInput()
Not supported by NumberField (as it's built on
<input type="number"> in HTML). You can set numeric
value constraints with NumberField.setMin(double),
NumberField.setMax(double) and NumberField.setStep(double). For
setting a custom value pattern and preventing invalid input,
use the TextField component instead. |
| com.vaadin.flow.component.textfield.NumberField.setMaxLength(int)
Not supported by NumberField (as it's built on
<input type="number"> in HTML). You can set numeric
value constraints with NumberField.setMin(double),
NumberField.setMax(double) and NumberField.setStep(double). |
| com.vaadin.flow.component.textfield.NumberField.setMinLength(int)
Not supported by NumberField (as it's built on
<input type="number"> in HTML). You can set numeric
value constraints with NumberField.setMin(double),
NumberField.setMax(double) and NumberField.setStep(double). |
| com.vaadin.flow.component.textfield.NumberField.setPattern(String)
Not supported by NumberField (as it's built on
<input type="number"> in HTML). You can set numeric
value constraints with NumberField.setMin(double),
NumberField.setMax(double) and NumberField.setStep(double). For
setting a custom value pattern, use the TextField component
instead. |
| com.vaadin.flow.component.textfield.NumberField.setPreventInvalidInput(boolean)
Not supported by NumberField (as it's built on
<input type="number"> in HTML). You can set numeric
value constraints with NumberField.setMin(double),
NumberField.setMax(double) and NumberField.setStep(double). For
setting a custom value pattern and preventing invalid input,
use the TextField component instead. |
Copyright © 2025. All rights reserved.