Vuido
Search…
Form
A container which arranges its children vertically, with captions next to them.

Attributes

padded

type: Boolean
Whether the form adds some padding between its children.

Child Attributes

The following attributes can be added to child components to change the way they are handled by the form container.

label

type: String
The caption displayed next to the child component.

stretchy

type: Boolean
Whether the child stretches to fill available space.

Example

1
<Form padded>
2
<TextInput label="First name:" v-model="firstName"/>
3
<TextInput label="Last name:" v-model="lastName"/>
4
</Form>
Copied!
Last modified 3yr ago