Skip to content

v-model with debounce param issue. Uncaught TypeError: Cannot read property 'set' of null #2023

@losadaem

Description

@losadaem

The debounce internal timeout id needs to be clear when unbinding the v-model directive to avoid calling Directive.set() after the directive _teardown call.

To reproduce the error just focus on the input field and click the hide button.

http://jsfiddle.net/5sH6A/224/

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