Skip to content

setSelected is called on the initial mounting of component #33

@shamar-morrison

Description

@shamar-morrison

Hello there,

When this component is initially mounted the setSelected function is executed. Is this how it is supposed to behave?

I believe the setSelected function should only execute whenever the user selects a new option from the dropdown since this function is currently the only way to get the selected value. Having it run on mount leads to some nasty bugs.

Thank you!

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions