score:2

       <Controller
            render={({ field }) => (
              <Select
                {...field}
              >
                {categoriesData.map((data, key) => (
                  <MenuItem key={key} value={data.id}>
                    {data.name.az}
                  </MenuItem>
                ))}
              </Select>
            )}
            name={"category"}
            control={control}
          ></Controller>

Related Query

More Query from same tag