Actions
Bug #66257
closedRemaining characters message displayed even without max value set in TCA
Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
Start date:
2015-04-03
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Even without the max set it shows "Remaining characters: 256". As this kind of makes sense for text fields this doesn't for numeric fields.
Updated by Andreas Kienast over 9 years ago
That's because the fields get a fallback maxlength of 256 characters, see for example typo3/sysext/backend/Classes/Form/Element/InputElement.php, line 160: $attributes['maxlength'] = $config['max'] ?: 256;
Updated by Andreas Kienast over 9 years ago
- Status changed from New to On Hold
- Assignee set to Andreas Kienast
The FormEngine is currently under refactoring. To avoid conflicts, this will be changed after the "House of Forms" is merged.
Updated by Benni Mack over 9 years ago
- Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Updated by Daniel Goerz over 9 years ago
- Status changed from On Hold to Needs Feedback
Hi Frans, although the refactoring patch was merged meanwhile I cannot reproduce this issue. Maybe you can have a look and reinvestigate, so we could (in the best case) close this ticket. =)
Updated by Frans Saris over 9 years ago
- Status changed from Needs Feedback to Closed
Issue is resolved in the meantime
Actions