Ticket #143 (new enhancement)
Form data provided by firefox' auto fill-in is not available in kauri form model
| Reported by: | jgou | Owned by: | mpo |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.5 |
| Component: | modules/kauri-forms | Version: | trunk |
| Keywords: | Cc: |
Description
The auto fill-in doesn't trigger events when data is automatically filled in, so the data is not registered in the form model. When submitting the form, you get strange validation errors, such as 'field is required' while it is actually filled in.
It would be nice if auto fill-in would be supported by kauri in some way.
Change History
comment:2 in reply to: ↑ 1 Changed 3 years ago by jgou
Replying to mpo:
note: at the least we should investigate if there are no directives in HTML/forms to indicate that field-values should not be remembered/auto-filled in.
There is indeed a directive, which is also useful in case of a password field which would otherwise trigger firefox to prompt the "remember password" dialog.
e.g.
<input type="password" class="input" autocomplete="off"/>
note: at the least we should investigate if there are no directives in HTML/forms to indicate that field-values should not be remembered/auto-filled in.
also note: since the reset() on forms is available this effect might be avoidable through calling that