Focus pin input when adding zwave device (#16557)

This commit is contained in:
Bram Kragten 2023-05-17 12:53:01 +02:00 committed by GitHub
parent cbcca6e190
commit 92ed62985d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -597,6 +597,8 @@ class DialogZWaveJSAddNode extends LitElement {
} catch (err: any) {
this._error = err.message;
this._status = "validate_dsk_enter_pin";
await this.updateComplete;
this._pinInput?.focus();
}
}