Does someone figured out how to use the BE date-time-picker for Fluid in TYPO3 v12?
I've added @typo3/backend/date-time-picker.js
to the page, but the solution from v11 does not work:
<div class="input-group">
<f:form.textfield type="text" property="myDate" id="my_date"
class="form-control form-control-clearable t3js-datetimepicker t3js-clearable"
data="{date-type: 'date', date-offset: '0'}" />
<span class="input-group-btn">
<label class="mb-0 btn btn-default" for="expire_at">
<core:icon identifier="actions-edit-pick-date" />
</label>
</span>
</div>
Looking at the a date-time field generated by the BE form-engine, there is a new wrapper tag which seems to be a custom HTML component (<typo3-formengine-element-datetime>...</typo3-formengine-element-datetime>
). But how can we use this in Extbase?