mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-08 18:39:40 +00:00
Add name attribute to autocomplete fields (#14258)
This commit is contained in:
@@ -40,6 +40,8 @@ const LOAD_ELEMENTS = {
|
||||
export class HaSelector extends LitElement {
|
||||
@property() public hass!: HomeAssistant;
|
||||
|
||||
@property() public name?: string;
|
||||
|
||||
@property() public selector!: Selector;
|
||||
|
||||
@property() public value?: any;
|
||||
@@ -74,6 +76,7 @@ export class HaSelector extends LitElement {
|
||||
return html`
|
||||
${dynamicElement(`ha-selector-${this._type}`, {
|
||||
hass: this.hass,
|
||||
name: this.name,
|
||||
selector: this.selector,
|
||||
value: this.value,
|
||||
label: this.label,
|
||||
|
||||
Reference in New Issue
Block a user