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

Failed prop type: Invalid prop style of type array supplied to Select2 #32

Open
BSDevCode opened this issue Sep 18, 2020 · 0 comments
Open

Comments

@BSDevCode
Copy link

ERROR:
Warning: Failed prop type: Invalid prop 'style' of type 'array' supplied to 'Select2', expected 'object'. in Select2 (at RegisterView.js:220) in Formik (at RegisterView.js:119) in RCTView (at View.js:34) .......................

CODE:
style={[style.selectInput, errors.city ? style.inputError : undefined]}

i'm looking to pass a style and on error edit this style... so, on error it will change color of border... maybe just need to fix it on propTypes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant