Hide the "duplicate" button by default
With https://forge.typo3.org/issues/77685 the "duplicate" button was introduced. This was added for all tables except sys_file_metadata, and was always visible.
The original feature request was meant for an exotic usecase (custom extension, where multiple new records had to be created in a sequence with just a single field to change). As in most cases this would not apply for records it's better to hide the field by default.
[FEATURE] Hide "duplicate" button by default
Hides the "duplicate" button in TCEFORMs by default as it serves
a very specific usecase best enabled on a table basis.
options.showDuplicate = 1
options.showDuplicate.[table] = 1
Tested-by: TYPO3com <email@example.com>
Reviewed-by: Mathias Schreiber <firstname.lastname@example.org>
Tested-by: Mathias Schreiber <email@example.com>
Reviewed-by: Wouter Wolters <firstname.lastname@example.org>
Reviewed-by: Frans Saris <email@example.com>
Reviewed-by: Richard Haeser <firstname.lastname@example.org>
Tested-by: Richard Haeser <email@example.com>
Reviewed-by: Frank Naegler <firstname.lastname@example.org>
Tested-by: Frank Naegler <email@example.com>