mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-02 05:57:54 +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
|
||||
.key=${key}
|
||||
required
|
||||
.value=${this.config.use_blueprint.input &&
|
||||
this.config.use_blueprint.input[key]}
|
||||
.value=${(this.config.use_blueprint.input &&
|
||||
this.config.use_blueprint.input[key]) ??
|
||||
value?.default}
|
||||
@value-changed=${this._inputChanged}
|
||||
no-label-float
|
||||
></paper-input>`}
|
||||
|
Loading…
x
Reference in New Issue
Block a user