mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-10 03:19:44 +00:00
Update add assistant dialog (#16266)
* Update add assistant dialog * fix default agent to ha when no supported * Update ha-tts-voice-picker.ts * Update assist-pipeline-detail-conversation.ts * Update ha-dialog.ts * dont override config * Update ha-language-picker.ts
This commit is contained in:
@@ -33,6 +33,11 @@ export class HaFormGrid extends LitElement implements HaFormElement {
|
||||
|
||||
@property() public computeHelper?: (schema: HaFormSchema) => string;
|
||||
|
||||
public async focus() {
|
||||
await this.updateComplete;
|
||||
this.renderRoot.querySelector("ha-form")?.focus();
|
||||
}
|
||||
|
||||
protected updated(changedProps: PropertyValues): void {
|
||||
super.updated(changedProps);
|
||||
if (changedProps.has("schema")) {
|
||||
|
||||
Reference in New Issue
Block a user