Skip to content

Submit custom attributes (inputProps) also to the event handler #956

@pamuche

Description

@pamuche

Is there some way to transfer custom attributes to the event handler?
Maybe as a second parameter?

<Select ... onChange={ this.onChangeSelect(selectedOption, customArgument) } ... />
But therefore I need some expression for selectedOption to not lose it when the event is called.

Maybe it could be the normal behavior to submit the content of inputProps as second argument to the event handler.

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