@optionfactory/fml 9.0.0-rc18 → 9.0.0-rc19

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.mjs CHANGED
@@ -1806,10 +1806,9 @@ class Input extends Field {
1806
1806
  * `.` for `type="decimal"`, and decoded to a number under
1807
1807
  * `v-type="number"`, where text that does not decode is answered as it is.
1808
1808
  * Writing `null`, `undefined` or `''` empties the control; anything else is
1809
- * written as its string. Writing the text the control already holds leaves
1810
- * it untouched, so a date or time control keeps the segments being typed.
1811
- * Answers a `string`, a `number` or `null`; typed `any` because subclasses
1812
- * answer other values.
1809
+ * written as its string, replacing whatever was being typed, as a native
1810
+ * control's value does. Answers a `string`, a `number` or `null`; typed
1811
+ * `any` because subclasses answer other values.
1813
1812
  * @type {any}
1814
1813
  */
1815
1814
  get value() {
@@ -1829,11 +1828,7 @@ class Input extends Field {
1829
1828
  return normalized;
1830
1829
  }
1831
1830
  set value(value) {
1832
- const text = value === '' || value === undefined || value === null ? '' : `${value}`;
1833
- if (this._input.value === text) {
1834
- return;
1835
- }
1836
- this._input.value = text;
1831
+ this._input.value = value === '' || value === undefined || value === null ? '' : `${value}`;
1837
1832
  }
1838
1833
  /**
1839
1834
  * The control's placeholder, `null` when there is none. The control always