mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Fix select entity change (#25310)
This commit is contained in:
parent
5cd68301ed
commit
376cac6002
@ -163,6 +163,7 @@ export class HuiGenericEntityRow extends LitElement {
|
|||||||
@touchend=${stopPropagation}
|
@touchend=${stopPropagation}
|
||||||
@keydown=${stopPropagation}
|
@keydown=${stopPropagation}
|
||||||
@click=${stopPropagation}
|
@click=${stopPropagation}
|
||||||
|
@action=${stopPropagation}
|
||||||
></slot>`}
|
></slot>`}
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
@ -93,7 +93,6 @@ class HuiSelectEntityRow extends LitElement implements LovelaceRow {
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
private _handleAction(ev): void {
|
private _handleAction(ev): void {
|
||||||
ev.stopPropagation();
|
|
||||||
const stateObj = this.hass!.states[this._config!.entity] as SelectEntity;
|
const stateObj = this.hass!.states[this._config!.entity] as SelectEntity;
|
||||||
|
|
||||||
const option = ev.target.value;
|
const option = ev.target.value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user