We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 199d974 commit d6a56cbCopy full SHA for d6a56cb
packages/main/src/CheckBox.hbs
@@ -7,6 +7,7 @@
7
aria-label="{{ariaLabelText}}"
8
aria-labelledby="{{ariaLabelledBy}}"
9
aria-describedby="{{ariaDescribedBy}}"
10
+ aria-required="{{required}}"
11
tabindex="{{tabIndex}}"
12
@mousedown="{{_onmousedown}}"
13
@mouseup="{{_onmouseup}}"
packages/main/src/CheckBox.js
@@ -84,6 +84,18 @@ const metadata = {
84
type: Boolean,
85
},
86
87
+ /**
88
+ * Defines whether the component is required.
89
+ *
90
+ * @type {boolean}
91
+ * @defaultvalue false
92
+ * @public
93
+ * @since 1.3.0
94
+ */
95
+ required: {
96
+ type: Boolean,
97
+ },
98
+
99
/**
100
* Defines whether the component is displayed as partially checked.
101
* <br><br>
0 commit comments