String
String
String
String
id
of the field. If not set, will be auto-generated from the slugified version of either: schema.inputName
, schema.label
or schema.model
, in that order. If the fieldIdPrefix
option is set, it's value will be prepended to both manual & auto-generated ids.String
name
attribute to input
field. You can use it to generate normal HTML Forms and submit the field values to server-side. Example​false
Boolean
true
Boolean
false
, field will be hidden. Can be a function too.false
Boolean
true
, field will be disabled. Can be a function too.false
Boolean
true
, Stylizes the field as required. Works in conjunction with validators.false
Boolean
true
, it will be visible only if multiple
is true
in component attributesString
String
String
or Array
.from-group
Array
get: function(model) {...}
set: function(model, value) {...}
onChanged
(model, newVal, oldVal, field)
onValidated
(model, errors, field)
visible, disabled, readonly
and featured
properties, you can also show or disable fields dynamically.
Those properties can take a Function
with a model
parameters and expect a Boolean
in return.values
values
property can be a Function
. In this case, you can dynamically generate the items.data-attributes
, to fields by using an attributes
object.