[Re-enablement] Allow the paste into <input> and <textarea> without truncation if the paste is longer than "maxlength"
Categories
(Core :: DOM: Editor, enhancement)
Tracking
()
People
(Reporter: hsinyi, Unassigned)
References
Details
We backed out disabling truncation at pasting into <input>
and <textarea>
which has maxlength
due to breakage of enterprise application (bug 1636855)
This is the bug to discuss the plan of and the solution to dealing with the paste truncation issue.
Some questions:
- Should this change be made for all input types or just type=password?
- Should
.value
return raw value or truncated value if web apps try to post to their server without a validity check?
Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Another possibility to consider if the other approaches don't work is to handle this with front-end UI, e.g. a popup similar to form field validity pop-ups saying "Your pasted password got truncated to X characters".
Comment 2•4 years ago
|
||
That was the original intention but using the existing form validation popup infrastructure.
Comment 3•4 years ago
|
||
Should this change be made for all input types or just type=password?
Users are annoyed with maxlength
in any way as someone mentioned a case of phone numbers. Both text
and password
types need this change.
Reporter | ||
Updated•4 years ago
|
Description
•