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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing tab on a opened multiple select input causes a error #308

Open
jockjocko opened this issue Jan 21, 2022 · 1 comment
Open

Pressing tab on a opened multiple select input causes a error #308

jockjocko opened this issue Jan 21, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jockjocko
Copy link

jockjocko commented Jan 21, 2022

Current Behaviour 馃槸

Pressing tab on a opened multiple select input causes the error
MUI: The "value" prop must be an array when using the "Select" component with "multiple".

Expected Behaviour 馃

Pressing tab on a opened multiple select input should close the dropdown and navigate to the next input

Steps to Reproduce 馃暪

This happens on the documentation example code pen as well

@jockjocko jockjocko added the bug Something isn't working label Jan 21, 2022
@cliedeman cliedeman self-assigned this Apr 23, 2022
@cliedeman
Copy link
Collaborator

thanks for the report @jockjocko

It's caused by this workaround: https://github.com/stackworx/formik-mui/blob/main/packages/formik-mui/src/Select.tsx#L52

Not sure how best to fix it...

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

No branches or pull requests

2 participants