Actions
Bug #96654
closedProblem when using maxLength with input type number in TCA or FlexForm
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2022-01-26
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:
Description
In typo3 by default the eval 'int, num' will return an input with type number, I found a problem that does not respect the 'max' attribute, since are it works correctly good with the input type text, as I check the problem exists in HTML, and in some case solved by type 'tel', I will suggest if are possible to add as 'eval' or we check another solution for this problem in TCA and FlexForm.
Test Case:
You need to create an input in the Flexform file with eval 'int' or 'num' and give it a 'max' value, you will find how it will give the way to type even length is more than the maxLength.
Files
Actions