Skip to content

Select all text when it focus #15

@atsaeid

Description

@atsaeid

$.fn.numeric_input.defaults = {
selectOnFocus:true
}

//--------------//
if (_instance.options.selectOnFocus === true) {
_instance.$elem.on('focus', function (e) {
_instance.$elem.select();
});
}

Metadata

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