Closed Bug 244967 Opened 20 years ago Closed 20 years ago

Input field doesn't display the whole default value if maxlength is set

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 35230

People

(Reporter: brian.preuss, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.6) Gecko/20040210 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.6) Gecko/20040210 Firefox/0.8

An input field doesn't display the whole default value if the attribute
maxlength is set (IE does!)

Example:
<input type="text" name="test" value="12345" maxlength="4">



Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
The acualt result is that only the first characters up to maxlength are
displayed. ("1234" in this case)

Expected Results:  
The expected result is that the default value is completly displayed ("12345" in
this case), even if it's longer than the maxlength!
Actually, the expected behavior is that maxlength is obeyed, I would think.

This has been filed before, and probably marked wontfix.
Whiteboard: DUPEME
bug 35230?

*** This bug has been marked as a duplicate of 35230 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.