<div class="a-input a-input--text ">
<div class="a-input__label">
Label
</div>
<input type="text" value="" placeholder="Label Placeholder">
<div class="a-input__icon">
<svg class="icon icon--calendar">
<use xlink:href="../../assets/icons.svg#calendar" />
</svg>
</div>
</div>
<div class="a-input a-input--text {% if text.disabled == true %}a-input--disabled{% endif %}">
<div class="a-input__label">
{{ text.label }}
</div>
<input type="text"
value="{{ text.value }}"
{% if text.placeholder %}placeholder="{{ text.placeholder }}"{% endif %}
{% if text.disabled == true %}disabled{% endif %}
>
<div class="a-input__icon">
{% render '@icon', { id: 'calendar'} %}
</div>
</div>
{
"text": {
"label": "Label",
"value": null,
"placeholder": "Label Placeholder",
"disabled": null
},
"textDisabled": {
"label": "Label",
"value": "25.991,80 €",
"disabled": true
},
"select": {
"label": "Label",
"values": [
"IVA 22% vendite",
"IVA 10% vendite"
],
"disabled": null
}
}
There are no notes for this item.