Feature #61308
closedAllow placeholder attribute
100%
Description
The extension tx_form should allow using the placeholder attribute. This was at some point discussed here #32594 (but at the wrong place). I'd really love to see this happening - at least on TS base and later on in the wizzard.
Example:
lib.contactForm = FORM_INT lib.contactForm { ... 10 = TEXTLINE 10 { name = name label.value = Name placeholder = Please enter your name. } ... }
Updated by Markus Klein about 10 years ago
Maybe a chance to make a contribution and implement this feature?
Updated by Björn Jacob about 10 years ago
Okay Markus. We check the code and try to find a good solution ;)
Updated by Gerrit Code Review about 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32699
Updated by Gerrit Code Review about 10 years ago
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32702
Updated by Björn Jacob about 10 years ago
IMHO the placeholder attribute should support stdWrap. To do something like the following.
lib.contactForm = FORM_INT lib.contactForm { ... 10 = TEXTLINE 10 { name = name label.value.lang.es = Foo placeholder.value.lang.es = Bar } ... }
I've checked the documentation and seen that the label tag is the only element which can be of type cObject. Maybe we should adapt the functionality of this element.
Updated by Gerrit Code Review about 10 years ago
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32738
Updated by Björn Jacob about 10 years ago
Tested it and works like a charm. This should also be possible for FORM objects of type TEXTAREA.
Updated by Gerrit Code Review almost 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32738
Updated by Gerrit Code Review almost 10 years ago
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35217
Updated by Gerrit Code Review almost 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32738
Updated by Gerrit Code Review over 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32738
Updated by Gerrit Code Review over 9 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32738
Updated by Gerrit Code Review over 9 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32738
Updated by Gerrit Code Review over 9 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32738
Updated by Gerrit Code Review over 9 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32738
Updated by Gerrit Code Review over 9 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32738
Updated by Ralf Zimmermann over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e86ff0c11a42396ed7d3c932794a1a1bda5e3c47.