@descope/web-components-ui 1.0.247 → 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 +112 -106
- 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/index.js +1 -0
- package/src/mixins/normalizeBooleanAttributesMixin.js +1 -0
package/dist/cjs/index.cjs.js
CHANGED
@@ -886,6 +886,7 @@ const booleanAttributesList = [
|
|
886
886
|
'password-visible',
|
887
887
|
'opening',
|
888
888
|
'closing',
|
889
|
+
'has-no-options',
|
889
890
|
];
|
890
891
|
|
891
892
|
const isBooleanAttribute = (attr) => {
|
@@ -8192,6 +8193,8 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
|
|
8192
8193
|
this.items.forEach((item) => {
|
8193
8194
|
if (values.includes(item.value)) {
|
8194
8195
|
item.setAttribute('selected', 'true');
|
8196
|
+
} else {
|
8197
|
+
item.removeAttribute('selected');
|
8195
8198
|
}
|
8196
8199
|
});
|
8197
8200
|
}
|