Skip to content

Commit

Permalink
Fixes alarm dialog inputmode for code input (#18263)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmcrty authored Oct 17, 2023
1 parent 4c7c04b commit b2cb0d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dialogs/enter-code/dialog-enter-code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class DialogEnterCode
.label=${this.hass.localize("ui.dialogs.enter_code.input_label")}
type="password"
pattern=${ifDefined(this._dialogParams.codePattern)}
input-mode="text"
inputmode="text"
></ha-textfield>
<ha-button slot="secondaryAction" dialogAction="cancel">
${this._dialogParams.cancelText ??
Expand Down Expand Up @@ -130,7 +130,7 @@ export class DialogEnterCode
id="code"
.label=${this.hass.localize("ui.dialogs.enter_code.input_label")}
type="password"
input-mode="numeric"
inputmode="numeric"
></ha-textfield>
<div class="keypad">
${BUTTONS.map((value) =>
Expand Down

0 comments on commit b2cb0d8

Please sign in to comment.