@optionfactory/ful 1.0.6 → 1.0.8
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/ful.css +1 -1
- package/dist/ful.css.map +1 -1
- package/dist/ful.iife.js +7 -1
- package/dist/ful.iife.js.map +1 -1
- package/dist/ful.iife.min.js +1 -1
- package/dist/ful.iife.min.js.map +1 -1
- package/dist/ful.min.mjs +1 -1
- package/dist/ful.min.mjs.map +1 -1
- package/dist/ful.mjs +7 -1
- package/dist/ful.mjs.map +1 -1
- package/package.json +1 -1
package/dist/ful.mjs
CHANGED
|
@@ -1392,7 +1392,7 @@ class Form extends ParsedElement {
|
|
|
1392
1392
|
}
|
|
1393
1393
|
|
|
1394
1394
|
class Input extends ParsedElement {
|
|
1395
|
-
static observed = ['value'];
|
|
1395
|
+
static observed = ['value', 'readonly:presence'];
|
|
1396
1396
|
static slots = true;
|
|
1397
1397
|
static template = `
|
|
1398
1398
|
<label data-tpl-for="id" class="form-label">{{{{ slots.default }}}}</label>
|
|
@@ -1439,6 +1439,12 @@ class Input extends ParsedElement {
|
|
|
1439
1439
|
set value(value) {
|
|
1440
1440
|
this.#input.value = value;
|
|
1441
1441
|
}
|
|
1442
|
+
get readonly(){
|
|
1443
|
+
return this.#input.readOnly;
|
|
1444
|
+
}
|
|
1445
|
+
set readonly(v) {
|
|
1446
|
+
this.#input.readOnly = v;
|
|
1447
|
+
}
|
|
1442
1448
|
focus(options) {
|
|
1443
1449
|
this.#input.focus(options);
|
|
1444
1450
|
}
|