Feature #24906
closedFeature Request: Configuration for maximum chars in text area (TCA - type "text")
100%
Description
TCA for 1-line input fields:
"myfield" => Array (
"label" => 'whatever',
"config" => Array (
"type" => "input",
"size" => "6",
"max" => "6", // this works ok
)
),
TCA for multi-line input fields:
"myfield" => Array (
"label" => 'whatever',
"config" => Array (
"type" => "text",
"cols" => "30",
"rows" => "6",
"max" => "250", // this feature is missing
)
),
I would appreciate this feature, because I use small fields (150 chars) for meta descriptions tags. Since there is no check, I can enter more chars than allowed, leading to the error message "fields not properly updated". I understand this error message, but it confuses my customers.
Thank you guys for keeping up the good work on TYPO3!!!
(issue imported from #M17421)
Updated by Gerrit Code Review almost 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/35506
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/35506
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/35506
Updated by Georg Ringer almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 9a6a133c9aa3db73ba9983a9cdd1cd28467de03c.
Updated by Simon Praetorius over 9 years ago
- Target version deleted (
0)
Could this be backported to TYPO3 6.2 LTS? It would be very helpful to limit the input in textareas in the backend.
Updated by Thomas Scholze over 9 years ago
Simon Praetorius wrote:
Could this be backported to TYPO3 6.2 LTS? It would be very helpful to limit the input in textareas in the backend.
+1
Maybe this XCLASS helps as a workaround https://gist.github.com/PeaceSfiSh/a55a3c836c0600e683e0