Classes to be used with custom templates.
CSS classes for various buttons connected with form.
Classes assigned to the concrete field component, under dorf-field
, e.g. to dorf-input
.
Classes for the error, below the field.
Classes assigned to the dorf-field
, which stores one of the fields at a time.
CSS classes for a fieldset around all the form fields.
CSS classes for a whole form.
Classes for the HTML control.
Classes for a label which is around the field. Used especially with a checkbox or radio buttons.
Classes for a label.
CSS classes for a legend under the fieldset.
CSS classes for a group of DORF wrapping divs (each wrapping div contains HTML field, label and error).
Classes assigned here are usually connected with a grid system (e.g. 'row'
class from Bootstrap).
Classes for wrapper, which groups all field elements (label, control, error).
Generated using TypeDoc
The most general set of classes, used for the form component and for the fallbacks. Form, fieldset, section and button classes are defined just once, during adding DORF module.
// DorfModule.forRoot({ css: { wrapper: "form-group", error: "error-message", label: "control-label", htmlField: "form-control", form: 'pure-form pure-form-aligned', buttons: { save: 'pure-button pure-button-primary', reset: 'hidden', group: 'pure-controls' } }, dorfFields: [{ tag: DorfField.CHECKBOX, css: { htmlField: "no-class", label: "checkbox-inline" } }, { tag: DorfField.RADIO, css: { htmlField: "radio-inline", label: "checkbox-inline" } }] })