Skip to content

Event object not send in onBlur method #839

@tonibardina

Description

@tonibardina

Issue

Not receiving event object when sending onBlur in textInputProps

Description

I am trying to get the event object from the onBlur method but I'm not getting it. Reviewing the code I have seen it is not sent. I

onBlur={
              onBlur
                ? (e) => {
                    _onBlur(e);
                    onBlur(); // <- Here 
                  }
                : _onBlur
            }

Is there any specific reason for that?

Reproduction

Add onBlur to textInputProps and log the arguments received (no arguments are sent)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions