mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 10:59:50 +00:00
Add support for automation description (#3723)
* Add support for automation annotation * Update label and add placeholder * Rename annotation to description * Adress review comments, fix lint errors
This commit is contained in:
committed by
Paulus Schoutsen
parent
145259e82f
commit
eee0c2e53f
@@ -21,7 +21,11 @@ class HaTextarea extends PolymerElement {
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
<paper-textarea label="[[label]]" value="{{value}}"></paper-textarea>
|
||||
<paper-textarea
|
||||
label="[[label]]"
|
||||
placeholder="[[placeholder]]"
|
||||
value="{{value}}"
|
||||
></paper-textarea>
|
||||
`;
|
||||
}
|
||||
|
||||
@@ -29,6 +33,7 @@ class HaTextarea extends PolymerElement {
|
||||
return {
|
||||
name: String,
|
||||
label: String,
|
||||
placeholder: String,
|
||||
value: {
|
||||
type: String,
|
||||
notify: true,
|
||||
|
||||
Reference in New Issue
Block a user