-
Notifications
You must be signed in to change notification settings - Fork 56
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
warning dans le composant Select #265
Comments
Meme problème pour nous chez FCU |
Bonjour, vous avez un code pour reproduire ça ? J'ai déjà eu ce souci et je viens de regarder sur mon app, je n'ai plus le warning et je vois rien dans mon code d'explicite ... |
Oui en effet c'est très maladroit, il faut reprender ça |
J'ai retravailler le composant SelectNext. |
C'est disponible dans 1.9.31. Merci d'avoir fait remonter! |
Le composant
Select
exporté depuisSelectNext
modifie directement la valeur des options avecselected: true
et cause un warning de react.Ajouter
selected: undefined
dans la définition desoptions
passées au composant<Select />
ne permet pas de faire disparaitre le warning en console.The text was updated successfully, but these errors were encountered: