Skip to content

Select all text onfocus event #4

@kelabang

Description

@kelabang

I cannot select all the text when element focus, because I need event passed to onfocus callback.

this._handleFocus = (text, e) => {
            console.log('Focused with text: ' + text);
            console.log('handle focus', e)
            e.target.select();
}

please help me.

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