Feature #52730
Placeholder property in some fields
Status: | Closed | Start date: | 2013-10-12 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Francois Suter | % Done: | 100% |
|
Category: | - | |||
Target version: | 6.2.0 |
Description
A happy little feature was introduced in 4.7 already, but never documented:
Some TCA fields (input / text?) can have a placeholder config option to hold a 'placeholder' value until user input was supplied.
See issue #33235 for the feature introduction and #52630 for a bugfix in this area.
Related issues
Associated revisions
[FEATURE] Placeholder attribute
Since TYPO3 CMS 4.7, a placeholder attribute is available
for fields of type input and text. This has been missing
from the documentation.
Furthermore, since 6.2 the placeholder configuration
can be a recursive pointer into related records.
Resolves: #52730
Releases: 6.2
Change-Id: I6e2c82f8a99095a7dbfd7fcb2c7d46e99f15b2e5
Reviewed-on: https://review.typo3.org/27885
Reviewed-by: Francois Suter
Tested-by: Francois Suter
History
#1 Updated by Ernesto Baschny almost 2 years ago
#52630 is not only a "bugfix", but allows to follow recursively a list of properties, i.e. used in sys_file_reference:
'placeholder' => '__row|uid_local|metadata|title',
- _row.uid_local refers to sys_file
- sys_file.metadata refers to sys_file_metadata
- sys_file_metadata.title <= this is the one to be shown
#2 Updated by Francois Suter over 1 year ago
- Status changed from New to Accepted
- Assigned To set to Francois Suter
- Target version set to 6.2.0
#3 Updated by Gerrit Code Review over 1 year ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Documentation/TYPO3/Reference/Tca has been pushed to the review server.
It is available at https://review.typo3.org/27885
#4 Updated by Francois Suter over 1 year ago
Note: I'm not going to backport this to older versions of the TCA Reference as I think it's not worth the effort. We already have so much to do, I would rather concentrate on delivering squeaky clean documentation for 6.2 rather than providing fixes for older versions, except for critical issues.
#5 Updated by Francois Suter over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 74210c765cea099bf955d1bae8ea77f5519f63cf.
#6 Updated by Francois Suter about 1 year ago
- Status changed from Resolved to Closed