Skip to content

Interface: FieldView<Value, Output> ​

Defined in: vue/src/use-field.ts:28

What useField returns.

Type Parameters ​

Type ParameterDefault type
Value-
OutputValue

Properties ​

PropertyModifierTypeDescriptionDefined in
attrsreadonlyFieldBindingAttributesFor v-bind on the input.vue/src/use-field.ts:37
descriptionIdreadonlystring-vue/src/use-field.ts:35
errorIdreadonlystring-vue/src/use-field.ts:34
errorMessagereadonlystring | undefinedThe field's first visible error as text, from the form's formatError, for the element with errorId.vue/src/use-field.ts:32
idreadonlystring-vue/src/use-field.ts:33
modelpublicValueFor v-model: reads the draft value and writes it with setValue.vue/src/use-field.ts:39
nodereadonlyFieldNode<Value, Output>-vue/src/use-field.ts:29
statereadonlyNodeState<Value>-vue/src/use-field.ts:30

Released under the MIT License.