Advanced forms with support for easy markup generation and validation.
<BsForm>
component. For the full documentation please refer to the
API Docs. You might also
want to consult the official
Bootstrap Docs
for general information.
The forms component lets you easily create forms with automatic markup generation based on the chosen form layout:
The controller below shows the default states for the form properties above.
Add support for forms validation by using one of the available additional addons depending on your favourite form validation library:
Just add validations to your model assigned to your form. It will then force validation on submit and show the eventual validation errors. The following example uses ember-cp-validations:
Use the form element in block form to add your custom controls:
You can also just customize the existing control component:
Support for popular control components can be added through additional addons: