You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose the current selected item is defaultOption, what we see would be like this.
That's correct, but if I click on beforeSelecting, what we see would be like this.
As you can see, afterSelecting should be in the title and should be in the grey background, but it's not, that's inconsistent, and that's the issue here.
layershifter
changed the title
Issues occurred when dynamically changing the DropdownItem's text
Dropdown: incorrect selection when dynamically changing options
Jan 7, 2018
I want to change a DropdownItem's text dynamically after selecting it. However I ran into an issue here.
Steps
beforeSelecting
defaultOption
, rather thanafterSelecting
Expected Result
The text shown in step 5 should be
afterSelecting
.Actual Result
The text shown in step5 is
defaultOption
.Version
0.75.1
Testcase
https://codesandbox.io/s/8xmx8mymk9
The text was updated successfully, but these errors were encountered: