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. TypeString
, requiredtrue
.
label
: label of the component. TypeString
.
initialValue
: initial value that the component will have. Type[Object, String, Number, Boolean]
.
disabled
: wether the component will be disabled or not. TypeBoolean
, defaultfalse
.
useForm
: connect to its parentForm
or not. TypeBoolean
, defaulttrue
.
reseteable
: if it is reseteable whenForm
propertyresetOnSubmit
is active. TypeBoolean
, defaulttrue
.