Skip to content

Input

Overview

A styled text input built on the native HTML input element, with support for v-model binding.

Theme entry: Input

Props

NameTypeRequiredDefaultDescription
themeOverrideString|Object|ArraynullA partial theme object merged with the component's default theme; accepts a class string, class array, or theme object.
classstring|array|objectundefinedAdditional CSS classes to apply to the input.
defaultValuestring|numberundefinedThe default value when uncontrolled.
modelValuestring|numberundefinedThe controlled value (used with v-model).

Events

NameDescription
update:modelValueEmitted when the value changes.

Full event reference

Source

client/lib/controls/input/Input.vue

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2