Project

General

Profile

Actions

Bug #66257

closed

Remaining characters message displayed even without max value set in TCA

Added by Frans Saris over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #66029: Show amount of characters left in forms if TCA has maxClosedAndreas Kienast2015-03-25

Actions
Actions #1

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;

Actions #2

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.

Actions #3

Updated by Benni Mack over 9 years ago

  • Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Actions #4

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. =)

Actions #5

Updated by Frans Saris over 9 years ago

  • Status changed from Needs Feedback to Closed

Issue is resolved in the meantime

Actions

Also available in: Atom PDF