digitalmarketplace-frontend
Version:
Digital Marketplace Frontend contains assets and components used in Digital Marketplace projects
45 lines (41 loc) • 2.58 kB
HTML
<div
class="dm-option-select"
data-module="dm-option-select"
>
<h2 class="dm-option-select__heading js-container-heading">
<span class="dm-option-select__title js-container-button" id="option-select-title-with_checked_value_set">List of options</span>
<svg version="1.1" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" class="dm-option-select__icon dm-option-select__icon--up" aria-hidden="true" focusable="false"><path d="m798.16 609.84l-256-256c-16.683-16.683-43.691-16.683-60.331 0l-256 256c-16.683 16.683-16.683 43.691 0 60.331s43.691 16.683 60.331 0l225.84-225.84 225.84 225.84c16.683 16.683 43.691 16.683 60.331 0s16.683-43.691 0-60.331z"/></svg>
<svg version="1.1" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" class="dm-option-select__icon dm-option-select__icon--down" aria-hidden="true" focusable="false"><path d="m225.84 414.16l256 256c16.683 16.683 43.691 16.683 60.331 0l256-256c16.683-16.683 16.683-43.691 0-60.331s-43.691-16.683-60.331 0l-225.84 225.84-225.84-225.84c-16.683-16.683-43.691-16.683-60.331 0s-16.683 43.691 0 60.331z"/></svg>
</h2>
<div role="group" aria-labelledby="option-select-title-with_checked_value_set" class="dm-option-select__container js-options-container" id="list_of_vegetables" tabindex="-1">
<div class="dm-option-select__container-inner js-auto-height-inner">
<div class="govuk-form-group">
<fieldset class="govuk-fieldset">
<legend class="govuk-fieldset__legend govuk-visually-hidden">
List of options
</legend>
<div class="govuk-checkboxes govuk-checkboxes--small" data-module="govuk-checkboxes">
<div class="govuk-checkboxes__item">
<input class="govuk-checkboxes__input" id="with_checked_value_set" name="with_checked_value_set" type="checkbox" value="potatoes" checked>
<label class="govuk-label govuk-checkboxes__label" for="with_checked_value_set">
Potatoes
</label>
</div>
<div class="govuk-checkboxes__item">
<input class="govuk-checkboxes__input" id="carrots" name="with_checked_value_set" type="checkbox" value="carrots">
<label class="govuk-label govuk-checkboxes__label" for="carrots">
Carrots
</label>
</div>
<div class="govuk-checkboxes__item">
<input class="govuk-checkboxes__input" id="mash" name="with_checked_value_set" type="checkbox" value="mash">
<label class="govuk-label govuk-checkboxes__label" for="mash">
Mash
</label>
</div>
</div>
</fieldset>
</div>
</div>
</div>
</div>