@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/fml.iife.js +4 -9
- package/dist/fml.iife.js.map +1 -1
- package/dist/fml.iife.min.js +1 -1
- package/dist/fml.iife.min.js.map +1 -1
- package/dist/ful.d.mts +3 -4
- package/dist/ful.iife.js +4 -9
- 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 +4 -9
- package/dist/ful.mjs.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/dist/fml.iife.js
CHANGED
|
@@ -8076,10 +8076,9 @@ var fml = (function (exports) {
|
|
|
8076
8076
|
* `.` for `type="decimal"`, and decoded to a number under
|
|
8077
8077
|
* `v-type="number"`, where text that does not decode is answered as it is.
|
|
8078
8078
|
* Writing `null`, `undefined` or `''` empties the control; anything else is
|
|
8079
|
-
* written as its string
|
|
8080
|
-
*
|
|
8081
|
-
*
|
|
8082
|
-
* answer other values.
|
|
8079
|
+
* written as its string, replacing whatever was being typed, as a native
|
|
8080
|
+
* control's value does. Answers a `string`, a `number` or `null`; typed
|
|
8081
|
+
* `any` because subclasses answer other values.
|
|
8083
8082
|
* @type {any}
|
|
8084
8083
|
*/
|
|
8085
8084
|
get value() {
|
|
@@ -8099,11 +8098,7 @@ var fml = (function (exports) {
|
|
|
8099
8098
|
return normalized;
|
|
8100
8099
|
}
|
|
8101
8100
|
set value(value) {
|
|
8102
|
-
|
|
8103
|
-
if (this._input.value === text) {
|
|
8104
|
-
return;
|
|
8105
|
-
}
|
|
8106
|
-
this._input.value = text;
|
|
8101
|
+
this._input.value = value === '' || value === undefined || value === null ? '' : `${value}`;
|
|
8107
8102
|
}
|
|
8108
8103
|
/**
|
|
8109
8104
|
* The control's placeholder, `null` when there is none. The control always
|