#22681Add config 'replace_single' to columns of type 'group/file'
Description
If you have a filed of type ‘group/files’, that shall have only _one_file (so maxitems=1), if would be greate to have an option, that replaces the exisitng file, if you upload a new one.
At the moment, you first have to delete the existing file, before you upload a new one. This is espessially a problem, when you use ‘disable_controls’=>‘list’ to ge a better looking form field (See #22679).
Solution:
Add option
‘replace_single’ => 1,
to field-config in TCA.
This should delete the exisiting entry, before adding a new one.
See attached Patch.
(issue imported from #M14432)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.