@rogieking/figui3 1.0.85 → 1.0.86
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/fig.js +3 -0
- package/package.json +1 -1
package/fig.js
CHANGED
|
@@ -159,6 +159,8 @@ if (window.customElements && !window.customElements.get("fig-dropdown")) {
|
|
|
159
159
|
}
|
|
160
160
|
set value(value) {
|
|
161
161
|
this.setAttribute("value", value);
|
|
162
|
+
this.select.value = value;
|
|
163
|
+
this.select.setAttribute("value", value);
|
|
162
164
|
}
|
|
163
165
|
static get observedAttributes() {
|
|
164
166
|
return ["value", "type"];
|
|
@@ -166,6 +168,7 @@ if (window.customElements && !window.customElements.get("fig-dropdown")) {
|
|
|
166
168
|
attributeChangedCallback(name, oldValue, newValue) {
|
|
167
169
|
if (name === "value") {
|
|
168
170
|
this.select.value = newValue;
|
|
171
|
+
this.select.setAttribute("value", newValue);
|
|
169
172
|
}
|
|
170
173
|
if (name === "type") {
|
|
171
174
|
this.type = newValue;
|
package/package.json
CHANGED