Closed anchal-chouvhan-altius closed 4 years ago
I want to apply yup validation on a multiselect dropdown which is created using "react-select" library. The form is created using formik.
{i18n.t('static.role.businessfunction')}* { handleChange(e); this.businessFunctionChange(e) }} onBlur={handleBlur} name="businessFunctions" id="businessFunctions" multi required min={1} options={this.state.businessFunctionList} value={this.state.businessFunctionId} error={errors.businessFunctions} touched={touched.businessFunctions} /> {errors.businessFunctions}
Hi @anchal-chouvhan-altius!
Please don't file GitHub issues to ask questions. Use Stack Overflow with a #react-select tag.
I want to apply yup validation on a multiselect dropdown which is created using "react-select" library. The form is created using formik.
{i18n.t('static.role.businessfunction')}* { handleChange(e); this.businessFunctionChange(e) }} onBlur={handleBlur} name="businessFunctions" id="businessFunctions" multi required min={1} options={this.state.businessFunctionList} value={this.state.businessFunctionId} error={errors.businessFunctions} touched={touched.businessFunctions} /> {errors.businessFunctions}