Skip to content

Value of the select element is incorrect #48

@Max-Z80

Description

@Max-Z80

I use the react-combo-select component without setting the text prop (because I want the component to display 'select' and not a predefined option). It has say 3 options ('a','b', 'c') After I choose the option 'c' in the drop down list, the property 'value' of the select html element in the DOM does not have the expected value. Instead it always has the value of the first option (ie 'a' here) in the drop down list. The component displays the value 'c'.
This issue occurs only the first time I use the component. When I repeat the procedure above with another option, the component behaves properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions