Skip to content

Commit f83508e

Browse files
committed
[TASK] Add required datetime field to EXT:styleguide
A new field "input_3" is added to EXT:styleguide for the "Formengine - required" handling. Until now only a normal "date" (without time) element was available. For future refactorings and changes of the required field handling, review module and datetime changes, this should be available to test easily. Resolves: #105906 Releases: main, 13.4 Change-Id: I2b8ef039f9868898b45fce047122be42ff57afd2 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/87678 Tested-by: Garvin Hicking <gh@faktor-e.de> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Garvin Hicking <gh@faktor-e.de> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: core-ci <typo3@b13.com> Tested-by: Georg Ringer <georg.ringer@gmail.com> Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
1 parent ad11bbf commit f83508e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

typo3/sysext/styleguide/Configuration/TCA/tx_styleguide_required.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@
4646
'required' => true,
4747
],
4848
],
49+
'input_3' => [
50+
'label' => 'input_3 eval=required,trim,datetime',
51+
'config' => [
52+
'type' => 'datetime',
53+
'format' => 'datetime',
54+
'required' => true,
55+
],
56+
],
4957
'color_1' => [
5058
'label' => 'color_1',
5159
'config' => [
@@ -367,7 +375,7 @@
367375
--div--;not required,
368376
notrequired_1,
369377
--div--;Input,
370-
input_1, input_2,
378+
input_1, input_2, input_3,
371379
--div--;Link,
372380
link_1,
373381
--div--;Text,

0 commit comments

Comments
 (0)