Fix missing helper for entity picker (#25622)

This commit is contained in:
Paul Bottein 2025-05-28 13:06:45 +02:00 committed by Bram Kragten
parent b907dbefad
commit 9458946dcc
2 changed files with 6 additions and 1 deletions

View File

@ -397,6 +397,7 @@ export class HaEntityPicker extends LitElement {
.autofocus=${this.autofocus}
.allowCustomValue=${this.allowCustomEntity}
.label=${this.label}
.helper=${this.helper}
.searchLabel=${this.searchLabel}
.notFoundLabel=${notFoundLabel}
.placeholder=${placeholder}

View File

@ -104,8 +104,8 @@ export class HaGenericPicker extends LitElement {
.getAdditionalItems=${this.getAdditionalItems}
></ha-picker-combo-box>
`}
${this._renderHelper()}
</div>
${this._renderHelper()}
`;
}
@ -164,6 +164,10 @@ export class HaGenericPicker extends LitElement {
display: block;
margin: 0 0 8px;
}
ha-input-helper-text {
display: block;
margin: 8px 0 0;
}
`,
];
}