@descope/web-components-ui 1.0.248 → 1.0.249
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +3 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/1000.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-internal-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/button-selection-group-fields/descope-button-multi-selection-group-internal/ButtonMultiSelectionGroupInternalClass.js +2 -0
- package/src/mixins/normalizeBooleanAttributesMixin.js +1 -0
package/dist/index.esm.js
CHANGED
@@ -567,6 +567,7 @@ const booleanAttributesList = [
|
|
567
567
|
'password-visible',
|
568
568
|
'opening',
|
569
569
|
'closing',
|
570
|
+
'has-no-options',
|
570
571
|
];
|
571
572
|
|
572
573
|
const isBooleanAttribute = (attr) => {
|
@@ -6922,6 +6923,8 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
|
|
6922
6923
|
this.items.forEach((item) => {
|
6923
6924
|
if (values.includes(item.value)) {
|
6924
6925
|
item.setAttribute('selected', 'true');
|
6926
|
+
} else {
|
6927
|
+
item.removeAttribute('selected');
|
6925
6928
|
}
|
6926
6929
|
});
|
6927
6930
|
}
|