RuiForm
Sources:
../../src/componentsForm/Form.vue
Simple form with submit/cancel actions
Simple form with submit/cancel actions
Props
Name | Required | Type | Default | Allowed values | Description |
---|---|---|---|---|---|
I18n | |||||
model | string | null | Model name to display errors | ||
Behavior | |||||
loading | boolean | false | Whether something is loading | ||
cancellable | boolean | true | Whether to display a "Cancel" button | ||
Content | |||||
errors | object | null | Errors list | ||
Buttons | |||||
submitButtonTitle | string | null | Custom caption for the submit button | ||
disableSubmit | boolean | false | Whether to disable the submit button (e.g.: in case of form error) | ||
submitButtonIcon | string | null | Custom icon for the submit button | ||
Display | |||||
fixedActions | boolean | false | Whether to keep the actions area on the bottom of the form. Defaults to |
Events
Name | Description | Parameters |
---|---|---|
cancel |
Slots
Name | Description |
---|---|
default |