-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial value is not set properly #12
Comments
@dzaiats You need to put your initial state in the useState function, or pass a initial value directly. |
Hi @jkdrangel , I mean, that even when I change |
Hello, |
@jkdrangel , could you clarify your suggestion about using |
Reading the values from the useState() - the
initial
value has never been set properly and the selected item is always -1.Does anything have to be configured?
The text was updated successfully, but these errors were encountered: