Brand Name : setForm({ ...form, brand: e.target.value })} className="p-2 border rounded" required > Select brand {brands.map((n) => ( {n} ))}