Skip to content

Key event handler with Input types #253

Closed
@fkraefft

Description

keyHandler:function(e) {
    if(disabled===true) {
        return true;
    }
    if(locked===true || document.activeElement.readOnly===false) {
        return false;
    }

The document.activeElement.readOnly===false function return always false when your active element is a Input, Select or Textarea. If you have a form in the site it does not work with the plugin!

How can I disable the keyHandler for the form?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions