Ticket #143 (new enhancement)

Opened 4 years ago

Last modified 3 years ago

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:1 follow-up: ↓ 2 Changed 4 years ago by 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.

also note: since the reset() on forms is available this effect might be avoidable through calling that

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"/>

comment:3 Changed 3 years ago by mpo

  • Milestone changed from 0.4 to 0.4.1

comment:4 Changed 3 years ago by jgou

  • Milestone changed from 0.4.1 to 0.5
Note: See TracTickets for help on using tickets.