@umbraco-cms/backoffice 14.0.0--preview004-895232c6 → 14.0.0--preview004-14ef63c3
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-cms/mocks/data/data-type.data.js +1 -1
- package/dist-cms/packages/core/property-editor/uis/text-box/property-editor-ui-text-box.element.d.ts +1 -0
- package/dist-cms/packages/core/property-editor/uis/text-box/property-editor-ui-text-box.element.js +5 -0
- package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
- package/dist-cms/vscode-html-custom-data.json +1 -1
- package/package.json +1 -1
package/dist-cms/packages/core/property-editor/uis/text-box/property-editor-ui-text-box.element.js
CHANGED
|
@@ -17,6 +17,7 @@ export let UmbPropertyEditorUITextBoxElement = class UmbPropertyEditorUITextBoxE
|
|
|
17
17
|
#defaultType;
|
|
18
18
|
set config(config) {
|
|
19
19
|
this._type = config?.getValueByAlias('inputType') ?? this.#defaultType;
|
|
20
|
+
this._inputMode = config?.getValueByAlias('inputMode');
|
|
20
21
|
this._maxChars = config?.getValueByAlias('maxChars');
|
|
21
22
|
}
|
|
22
23
|
onChange(e) {
|
|
@@ -27,6 +28,7 @@ export let UmbPropertyEditorUITextBoxElement = class UmbPropertyEditorUITextBoxE
|
|
|
27
28
|
return html `<uui-input
|
|
28
29
|
.value=${this.value ?? ''}
|
|
29
30
|
.type=${this._type}
|
|
31
|
+
inputMode=${ifDefined(this._inputMode)}
|
|
30
32
|
maxlength=${ifDefined(this._maxChars)}
|
|
31
33
|
@change=${this.onChange}></uui-input>`;
|
|
32
34
|
}
|
|
@@ -45,6 +47,9 @@ __decorate([
|
|
|
45
47
|
__decorate([
|
|
46
48
|
state()
|
|
47
49
|
], UmbPropertyEditorUITextBoxElement.prototype, "_type", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
state()
|
|
52
|
+
], UmbPropertyEditorUITextBoxElement.prototype, "_inputMode", void 0);
|
|
48
53
|
__decorate([
|
|
49
54
|
state()
|
|
50
55
|
], UmbPropertyEditorUITextBoxElement.prototype, "_maxChars", void 0);
|