Skip to content
On this page

BasicInputMixin

BasicInputMixin provides configurable properties, internal data properties, computed properties, methods and hooks to ease the burden of creating new input components.

It contains also the mechanism to connect to its parent Form, so it binds its validation to it and provides the Form with the data to build submit object.

Props

  • name: name of the component. Type String, required true.
  • label: label of the component. Type String.
  • initialValue: initial value that the component will have. Type [Object, String, Number, Boolean].
  • disabled: wether the component will be disabled or not. Type Boolean, default false.
  • useForm: connect to its parent Form or not. Type Boolean, default true.
  • reseteable: if it is reseteable when Form property resetOnSubmit is active. Type Boolean, default true.