Open Bug 1021887 Opened 10 years ago Updated 2 years ago

Include various <input> attributes with field data sent to the UI Glue

Categories

(Toolkit :: Form Manager, defect)

defect

Tracking

()

People

(Reporter: MattN, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: p=5)

When requestAutocomplete is initiated, we create a list of all pending autofill elements in that form and send them to the UI component.

We should include information about the various validation/type attributes in teh data sent so that the requestAutocomplete dialog can help select valid data. We should use the IDL attributes to access the data instead of the content attributes since they should already check the validity in most cases.

Examples:
* minlength
* maxlength
* required
* type
* inputmode
* value (in case it's pre-filled)
* pattern (may not be required per spec but may help the user)
* min/max/step (if we support numeric fields)

p=5 because this will require a fair amount of tests
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.