UNPKG

govuk-angular

Version:

Angular components port of govuk-frontend nunjucks macros.

27 lines (13 loc) 944 B
# Checkbox This component is base on the gds nunjucks example found here : https://design-system.service.gov.uk/components/checkboxes/#options-checkboxes-example--items The input properties mirror those of the version above, with the exception that **html** properties are not use **text** is. ## Fieldset For this component a **Fieldset** is used to surround the checkboxes For our version the fieldset also hold the **hint** and the **errorMessage** components. ## Properties NOT yet implemented formGroup :object Options for the form-group wrapper See formGroup. idPrefix :string String to prefix id for each checkbox item if no id is specified on each item. If not passed, fall back to using the name option instead attributes :object HTML attributes (for example data attributes) to add to the anchor tag. ## Items properties NOT yet implemented The basic properties are done, however some of less used properties are not.