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

i want from onChange React-Select in Formik change state component #1272

Closed
armohammadi56 opened this issue Jan 25, 2019 · 2 comments
Closed

Comments

@armohammadi56
Copy link

armohammadi56 commented Jan 25, 2019

onChange={value => {
setFieldValue("personTypeId", value.id);
if (value.id === 1) {
this.setState({isDisableFullTimeType : false})
} else {
this.setState({isDisableFullTimeType : true});
}

                      }}
@jaredpalmer
Copy link
Owner

I'm going to mark this as invalid and close for now. If you can fill out the issue template next time, that would allow us to help you out.

@armohammadi56
Copy link
Author

tnx :-)

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

No branches or pull requests

2 participants