Addons
Multiple controls in a field get attached. Use
expanded
property on the control to fill up space on the line.
Groups
Use the
grouped
property to group controls together. Use the
expanded
property to make a control take up remaining space.
Nested Groups
You can nest fields inside fields. You have to use the
expanded
property on the
Field to fill up the remaining space.
Responsive Groups
Add
groupMultiline
property to allow controls to fill up multiple lines.
Positions
Use
position
property to align Field horizontally.
API
Name | Description | Type | Values | Default |
type | Type (color) of the field and help message. Also adds a matching icon., optional | String | is-white , is-black , is-light , is-dark , is-primary , is-info , is-success , is-warning , is-danger | — |
label | Label for input, optional | String | — | — |
labelFor | Same as native for on label, optional | String | — | — |
message | Message to show beneath input, optional | String | — | — |
grouped | Direct child components/elements of Field will be grouped horizontally | Boolean | — | false |
groupMultiline | Allow grouped controls to cover multiple lines | Boolean | — | false |
position | Alter the alignment of the field, optional | String | is-centered , is-right | — |
addons | Automatically attach child controls together | Boolean | — | true |