79434819

Date: 2025-02-13 00:51:58
Score: 2.5
Natty:
Report link

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?

Reasons:
  • Blacklisted phrase (1): how can we
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Moongazer