Skip to content

form doesn't sync changes on submit when using debounce option #2028

@losadaem

Description

@losadaem

The blur handler is calling the debounced version of the listener. In my opinion the purpose is to debounce only the keystrokes but on blur it makes sense to sync the changes immediately to avoid stale data.

Example, input something and press enter or click submit right after.

http://jsfiddle.net/17j6cjgm/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions