@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.
@@ -262,7 +262,7 @@ export const data = [
262
262
  propertyEditorUiAlias: 'Umb.PropertyEditorUi.Email',
263
263
  values: [
264
264
  {
265
- alias: 'inputType',
265
+ alias: 'inputMode',
266
266
  value: 'email',
267
267
  },
268
268
  ],
@@ -5,6 +5,7 @@ export declare class UmbPropertyEditorUITextBoxElement extends UmbLitElement imp
5
5
  #private;
6
6
  value: string;
7
7
  private _type;
8
+ private _inputMode?;
8
9
  private _maxChars?;
9
10
  set config(config: UmbPropertyEditorConfigCollection | undefined);
10
11
  private onChange;
@@ -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);