powerpagestoolkit 2.7.121-2.2 → 2.7.131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +6 -1
- package/dist/index.iife.js +1368 -0
- package/dist/types/core/createDOMNodeReferences.d.ts +1 -1
- package/package.json +5 -2
package/dist/bundle.js
CHANGED
|
@@ -613,10 +613,15 @@ var DOMNodeReference = class _DOMNodeReference {
|
|
|
613
613
|
}
|
|
614
614
|
const eventType = this.determineEventType();
|
|
615
615
|
this.element.dispatchEvent(new Event(eventType, { bubbles: false }));
|
|
616
|
-
if (this.
|
|
616
|
+
if (this.yesRadio instanceof _DOMNodeReference && this.noRadio instanceof _DOMNodeReference) {
|
|
617
617
|
this.yesRadio.element.checked = value;
|
|
618
618
|
this.noRadio.element.checked = !value;
|
|
619
619
|
this.value = value;
|
|
620
|
+
this.checked = value;
|
|
621
|
+
this.element.checked = value;
|
|
622
|
+
} else if (this.isRadio || this.element.type === "radio") {
|
|
623
|
+
this.checked = value;
|
|
624
|
+
this.element.checked = value;
|
|
620
625
|
} else {
|
|
621
626
|
this.element.value = value;
|
|
622
627
|
}
|