TYPO3-Initiatives / content-block-registration-api

This is a repository of the TYPO3 Structured Content Initiative. It provides the registration API for Content Blocks for TYPO3.
https://typo3.org/community/teams/typo3-development/initiatives/structured-content
GNU General Public License v2.0
19 stars 7 forks source link

Fallback to first text field if no header field is defined in collection #50

Closed typecat closed 2 years ago

typecat commented 3 years ago

Copied from #45

Goal is to avoid a "no title" label. If no text field exists at all, maybe render a generic label with item number (e.g. "Item 1", "Item 2", ...)?

typecat commented 2 years ago

The mandatory property useAsLabel solves this problem already.