Actions
Feature #97563
openAdd rendering option to `select` fields to hide them if only 1 value selectable
Status:
New
Priority:
Could have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2022-05-06
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
ux
Complexity:
Sprint Focus:
Description
This is about adding a TCA rendering option to select
fields that would hide the field from the editor if there is only 1 value available.
This allows decluttering the backend form by removing fields where the editor does not actually have a choice. This leads to better UX.
The immediate use case is if the Core wants to provide fields but not provide any options (except default) for it because it only becomes useful if an integrator adds functionality there.
There might also be other use cases for integrators to use this option. For example, when dynamically adding items through a userFunc
which could result in only 1 item.
Actions