Project

General

Profile

Actions

Feature #97563

open

Add rendering option to `select` fields to hide them if only 1 value selectable

Added by Jonas Eberle over 2 years ago. Updated 5 months ago.

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #97562: Remove the example "Layout 1/2/3" entries from tt_content.layout / pages.layoutRejected2022-05-06

Actions
Actions

Also available in: Atom PDF