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 <firstname.lastname@example.org>
Reviewed-by: Mathias Schreiber <email@example.com>
Tested-by: Mathias Schreiber <firstname.lastname@example.org>
Reviewed-by: Wouter Wolters <email@example.com>
Reviewed-by: Frans Saris <firstname.lastname@example.org>
Reviewed-by: Richard Haeser <email@example.com>
Tested-by: Richard Haeser <firstname.lastname@example.org>
Reviewed-by: Frank Naegler <email@example.com>
Tested-by: Frank Naegler <firstname.lastname@example.org>