<label for="input405ope1kllpc7spg" class="date-input--required">Date Input</label>
<input type="date" id="input405ope1kllpc7spg" value="1970-01-01" class="date-input--required" aria-required="true" />
{% if date_input is not empty %}
{% set input_id = 'input'|uniqid %}
<label for="{{ input_id }}" class="{{ date_input.variant }}">{{ date_input.label }}</label>
<input type="date" id="{{ input_id }}" value="1970-01-01" class="{{ date_input.variant }}" {% if date_input.required %}aria-required="true"{% endif %} {% if date_input.disabled %}disabled="disabled"{% endif %} />
{% endif %}
{
"date_input": {
"label": "Date Input",
"variant": "date-input--required",
"required": true
}
}
There are no notes for this item.