Replies: 1 comment
-
Greetings @rokin04 , What is the initial value you are passing to defaultValue and can you explain by what you mean
defaultValue is only applied at the time of render so any changes to it would not be reflected in the control |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I'm passing defaultValue prop to have initially selected option , on initial render state.isSelected is true for defaultValue but state.isFocused is not, is there any workaround for this ?
This is happening when the defaultValue is changed from controls in the storybook, not in the actual code.
Beta Was this translation helpful? Give feedback.
All reactions