icon configuration variable: unification (#10618)

* icon configuration variable: unification

Unification across input_xxx integrations (and get rid of 'component' wording where necessary)

* icon configuration variable: unification

Unification across input_xxx integrations

* icon configuration variable: unification

Unification across input_xxx integrations

* icon configuration variable: unification

Unification across input_xxx integrations

* icon configuration variable: unification

Unification across input_xxx integrations (adding missing icon variable)

* icon configuration variable: unification

Unification across input_xxx integrations
This commit is contained in:
akasma74 2019-10-05 17:38:09 +01:00 committed by Fabian Affolter
parent f29d4d7ea1
commit 107414ac13
5 changed files with 8 additions and 4 deletions

View File

@ -37,7 +37,7 @@ input_boolean:
type: boolean type: boolean
default: false default: false
icon: icon:
description: Icon to display for the component. description: Icon to display in front of the input element in the frontend.
required: false required: false
type: icon type: icon
{% endconfiguration %} {% endconfiguration %}

View File

@ -54,7 +54,7 @@ input_datetime:
type: boolean type: boolean
default: false default: false
icon: icon:
description: Icon to display in the frontend. description: Icon to display in front of the input element in the frontend.
required: false required: false
type: icon type: icon
initial: initial:

View File

@ -74,7 +74,7 @@ input_number:
required: false required: false
type: string type: string
icon: icon:
description: Icon to display in front of the box/slider in the frontend. description: Icon to display in front of the input element in the frontend.
required: false required: false
type: icon type: icon
{% endconfiguration %} {% endconfiguration %}

View File

@ -49,7 +49,7 @@ input_select:
type: map type: map
default: First element of options default: First element of options
icon: icon:
description: Icon to display for the component. description: Icon to display in front of the input element in the frontend.
required: false required: false
type: icon type: icon
{% endconfiguration %} {% endconfiguration %}

View File

@ -53,6 +53,10 @@ input_text:
required: false required: false
type: string type: string
default: empty default: empty
icon:
description: Icon to display in front of the input element in the frontend.
required: false
type: icon
pattern: pattern:
description: Regex pattern for client side validation. description: Regex pattern for client side validation.
required: false required: false