Project

General

Profile

Actions

Bug #93743

closed

Date picker does not work in IRRE elements if collapseAll is set to true

Added by Urs Maag over 3 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
-
Start date:
2021-03-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
IRRE, date picker
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

Description

TCA of tt_content:
'tx_maagitevent_dates' => [
'exclude' => 0,
'label' => 'LLL:EXT:maagitevent/Resources/Private/Language/locallang_db.xlf:tx_maagitevent_dates',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_maagitevent_domain_model_date',
'foreign_field' => 'tt_content',
'foreign_sortby' => 'sorting',
'maxitems' => 100,
'appearance' => [
'collapseAll' => true,
'expandSingle' => true,
'newRecordLinkAddTitle' => true,
'useSortable' => true,
'enabledControls' => [
'info' => false,
'new' => true,
'sort' => false,
'hide' => true,
'dragdrop' => true,
'delete' => true,
'localize' => false,
]
]
]
]

TCA of tx_maagitevent_domain_model_date:
'fromdate' => [
'label' => 'LLL:EXT:maagitevent/Resources/Private/Language/locallang_db.xml:tx_maagitevent_domain_model_date.fromdate',
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'eval' => 'datetime,required',
]
]

When i click of the irre container to open its records and then click on the calendar icon, nothing happens (calendar does not show up).


Files

DatePicker.jpg (148 KB) DatePicker.jpg tt_content with IRRE Record and datetime field Urs Maag, 2021-03-15 14:57

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #97448: JavaScript from TCA Inline Elements not loaded when fetched dynamicallyClosed2022-04-22

Actions
Actions #1

Updated by Benni Mack over 1 year ago

  • Sprint Focus set to On Location Sprint
Actions #2

Updated by Gerrit Code Review 6 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84490

Actions #3

Updated by Garvin Hicking 6 months ago

  • Has duplicate Bug #97448: JavaScript from TCA Inline Elements not loaded when fetched dynamically added
Actions #4

Updated by Garvin Hicking 6 months ago

  • Assignee set to Garvin Hicking

This issue is no longer reproducible in main (v13) and probably fixed as a drive-by with the lit-component modularization efforts.

However, I've created a patch to demonstrate that this is working with a new styleguide TCA element.

Actions #5

Updated by Gerrit Code Review 6 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84490

Actions #6

Updated by Gerrit Code Review 5 months ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84490

Actions #7

Updated by Gerrit Code Review 5 months ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84490

Actions #8

Updated by Garvin Hicking 5 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF