Format code.
This commit is contained in:
parent
b5dbb1aebf
commit
f4582c221c
1 changed files with 12 additions and 10 deletions
|
|
@ -1,16 +1,18 @@
|
|||
<template>
|
||||
<!-- Checkbox groups MUST be wrapped in a <fieldset> and <legend> tag -->
|
||||
<div class="form-check ui-checkbox d-flex align-items-center" :class="[hasError ? 'has-error' : '']">
|
||||
<div
|
||||
class="form-check ui-checkbox d-flex align-items-center"
|
||||
:class="[hasError ? 'has-error' : '']">
|
||||
<label class="d-flex align-items-start" :for="buttonID">
|
||||
<input
|
||||
v-model="value"
|
||||
class="form-check-input me-2"
|
||||
type="checkbox"
|
||||
aria-checked="false"
|
||||
:name="checkboxName"
|
||||
:id="buttonID"
|
||||
:tabindex="tabIndex"
|
||||
:aria-required="isRequired" />
|
||||
<input
|
||||
v-model="value"
|
||||
class="form-check-input me-2"
|
||||
type="checkbox"
|
||||
aria-checked="false"
|
||||
:name="checkboxName"
|
||||
:id="buttonID"
|
||||
:tabindex="tabIndex"
|
||||
:aria-required="isRequired" />
|
||||
<p v-html="checkboxLabelCopy" class="m-0"></p>
|
||||
<span v-if="screenReaderOnlyText" class="sr-only">{{ screenReaderOnlyText }}</span>
|
||||
</label>
|
||||
|
|
|
|||
Loading…
Reference in a new issue