mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-02 14:07:55 +00:00
Show default value for selector-less blueprint inputs. (#8163)
This commit is contained in:
parent
142f26add1
commit
16c914b139
@ -175,8 +175,9 @@ export class HaBlueprintAutomationEditor extends LitElement {
|
|||||||
: html`<paper-input
|
: html`<paper-input
|
||||||
.key=${key}
|
.key=${key}
|
||||||
required
|
required
|
||||||
.value=${this.config.use_blueprint.input &&
|
.value=${(this.config.use_blueprint.input &&
|
||||||
this.config.use_blueprint.input[key]}
|
this.config.use_blueprint.input[key]) ??
|
||||||
|
value?.default}
|
||||||
@value-changed=${this._inputChanged}
|
@value-changed=${this._inputChanged}
|
||||||
no-label-float
|
no-label-float
|
||||||
></paper-input>`}
|
></paper-input>`}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user