\n \n \n {\n form.setFieldValue(props.name, selectedOption.value);\n props.onChange({\n name: props.name,\n value: selectedOption.value,\n });\n }}\n onBlur={() => form.setFieldTouched(props.name)}\n onInputChange={props.onInputChange}\n options={props.options}\n isSearchable={props.isSearchable}\n placeholder={props.placeholder}\n optionalLabel={props.optionalLabel}\n errors={getErrors(form)}\n isDisabled={props.isDisabled}\n formatOptionLabel={props.formatOptionLabel}\n menuPlacement={props.menuPlacement}\n hideDropdownIndicator={props.hideDropdownIndicator}\n clearInput={props.clearInput}\n customOption={props.customOption}\n customValueContainer={props.customValueContainer}\n customSingleValue={props.customSingleValue}\n filterOption={props.filterOption}\n />\n \n
\n \n )}\n