Skip to content
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

Fix SelectField hydration mismatch error #859

Merged
merged 1 commit into from
Jun 26, 2024
Merged

Fix SelectField hydration mismatch error #859

merged 1 commit into from
Jun 26, 2024

Conversation

gabro
Copy link
Member

@gabro gabro commented Jun 26, 2024

SelectField suffers from this react-select issue JedWatson/react-select#2629 when rendering in SSR environment

This PR works around it by adding a stable id (using useId or the id passed externally) to pass to id and instanceId.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant