You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.textfield.

Class NumberField

All Implemented Interfaces:

AttachNotifier, BlurNotifier<NumberField>, CompositionNotifier, DetachNotifier, Focusable<NumberField>, FocusNotifier<NumberField>, HasAriaLabel, HasElement, HasEnabled, HasHelper, HasLabel, HasSize, HasStyle, HasTheme, HasValidation, HasValue<AbstractField.ComponentValueChangeEvent<NumberField,Double>,Double>, HasValueAndElement<AbstractField.ComponentValueChangeEvent<NumberField,Double>,Double>, InputNotifier, KeyNotifier, HasAllowedCharPattern, HasClearButton, HasClientValidation, HasPrefix, HasSuffix, HasThemeVariant<TextFieldVariant>, HasTooltip, HasValidationProperties, HasAutocapitalize, HasAutocomplete, HasAutocorrect, HasPrefixAndSuffix, HasValidator<Double>, HasValueChangeMode, Serializable

@Tag("vaadin-number-field") @NpmPackage(value="@vaadin/polymer-legacy-adapter",version="24.1.15") @NpmPackage(value="@vaadin/number-field",version="24.1.15") @JsModule("@vaadin/polymer-legacy-adapter/style-modules.js") @JsModule("@vaadin/number-field/src/vaadin-number-field.js") public class NumberField extends AbstractNumberField<NumberField,Double> implements HasAllowedCharPattern, HasThemeVariant<TextFieldVariant>

Number Field sports many of the same features as Text Field but only accepts numeric input. The input can be decimal, integral or big decimal. You can specify a unit as a prefix or suffix for the field.

Author:

Vaadin Ltd.

See Also: