Fix use of "" on lock entity more info (use default code) (#18706)

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
G Johansson
2023-12-04 14:23:11 +01:00
committed by GitHub
parent 8a93284bb3
commit 97b71c785b
2 changed files with 10 additions and 2 deletions

View File

@@ -99,6 +99,8 @@ export class DialogEnterCode
id="code"
.label=${this.hass.localize("ui.dialogs.enter_code.input_label")}
type="password"
autoValidate
validateOnInitialRender
pattern=${ifDefined(this._dialogParams.codePattern)}
inputmode="text"
></ha-textfield>