Skip to content

NumberFieldDecrement ​

Overview ​

A decrement button for NumberField, absolutely positioned to the left of the input and rendering a Minus icon by default.

Theme entry: NumberFieldDecrement

Props ​

NameTypeRequiredDefaultDescription
iconOverrideObjectnullA partial icon registry ({ [componentName]: { [iconName]: { component, props } } }) merged with inherited and default icon entries; scopes icon overrides to this component and its descendants.
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
disabledbooleanundefinedWhen true, disables the decrement button.
asstring|object"button"The element or component to render as.
asChildbooleanfalseWhen true, merges props onto the child element instead of rendering a wrapper.

Slots ​

default ​

Slot.

Source ​

client/lib/controls/number-field/NumberFieldDecrement.vue