mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 20:36:35 +00:00
Fix non optional response service, variable field disabled (#17171)
This commit is contained in:
parent
507f22a5cd
commit
ad8d3c7fa8
@ -152,7 +152,9 @@ export class HaServiceAction extends LitElement implements ActionElement {
|
|||||||
.required=${!this.hass.services[domain][service].response!
|
.required=${!this.hass.services[domain][service].response!
|
||||||
.optional}
|
.optional}
|
||||||
.disabled=${this.disabled ||
|
.disabled=${this.disabled ||
|
||||||
(!this._action.response_variable && !this._responseChecked)}
|
(this.hass.services[domain][service].response!.optional &&
|
||||||
|
!this._action.response_variable &&
|
||||||
|
!this._responseChecked)}
|
||||||
@change=${this._responseVariableChanged}
|
@change=${this._responseVariableChanged}
|
||||||
></ha-textfield>
|
></ha-textfield>
|
||||||
</ha-settings-row>`
|
</ha-settings-row>`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user