{% do jsConfig().add({'datepicker' : true, 'floatingLabel' : true}) %}
<div class="form-group js-datepicker datepicker js-datepicker--demi {{ styleModifier }}">
<div class="position-relative datepicker-container">
<label for="{{ inputname }}Visible" class="form-control-label floating-label floating-label--static">{{ inputlabel }}</label>
<input data-alt-field="#{{ inputname }}"
data-date-picker="{{ datepickerLabel }}"
id="{{ inputname }}Visible"
readonly
type="text"
name="{{ inputname }}Visible"
class="js-datepicker__input form-control--datepicker form-control js-floating-label"
value="{{ app.request.get(inputname) is not empty ? app.request.get(inputname) : '' }}">
<input class="js-datepicker__alt-field js-filter-form__input js-filter-form__input--no-filter js-floating-label"
type="hidden"
value="{{ app.request.get(inputname) is not empty ? app.request.get(inputname) : dateString }}"
name="{{ inputname }}"
id="{{ inputname }}">
</div>
</div>