You have provided an out-of-range value `undefined` for the select code example
Example: You have provided an out-of-range value `undefined` for the select (name="category_id") component.
{
type: "select",
name: "brand_id",
id: "brand_id",
label: "Select Brand",
value: values?.brand_id,
handleChange: handleChange,
dropdown: dropDownList?.dropdowncategory,
error: touched.brand_id && Boolean(errors.brand_id),
helperText: touched.brand_id && errors.brand_id,
},