Skip to content

Native date input change event propagation problem #1620

@ghost

Description

Native date inputs from WDateField.

Process

A WDateField is wired as an ajax controller to update part of a UI. The date is manipulated using the keyboard and focus is then moved to the next focusable element using the TAB (or previous with SHIFT TAB) key.

Expected

The ajax request is fired and the UI is updated appropriately.

Actual

No ajax request is made unless focus is lost using a mouse click.

Seen in Google Chrome, not tested in other browsers.

Hypothesis

This is seen when updating a date input by stepping or typing numbers. It appears that when the date is changed in this way the browser is not firing a blur event. Note that we currently interrupt change events to prevent excessive ajax requests. This may no longer be necessary.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions