eleven-solutions-common-website-unique-web 3.0.36 → 3.0.37
Sign up to get free protection for your applications and to get access to all the features.
@@ -25,7 +25,7 @@ const TaxonomyForm = () => {
|
|
25
25
|
const [editTaxonomyItem, setEditTaxonomyItem] = useState(null);
|
26
26
|
const [editTempTaxonomyItem, setEditTempTaxonomyItem] = useState(null);
|
27
27
|
const [selectedTaxonomyId, setSelectedTaxonomyId] = useState("");
|
28
|
-
const [isMultiple, setIsMultiple] = useState(
|
28
|
+
const [isMultiple, setIsMultiple] = useState(false);
|
29
29
|
const validateForm = () => {
|
30
30
|
if (!type || !code || !value) {
|
31
31
|
alert("Please fill in all required fields: Type, Code, and Value.");
|
package/package.json
CHANGED
@@ -44,7 +44,7 @@ const TaxonomyForm = () => {
|
|
44
44
|
|
45
45
|
const [selectedTaxonomyId, setSelectedTaxonomyId] = useState<string>("");
|
46
46
|
|
47
|
-
const [isMultiple, setIsMultiple] = useState(
|
47
|
+
const [isMultiple, setIsMultiple] = useState(false);
|
48
48
|
|
49
49
|
const validateForm = () => {
|
50
50
|
if (!type || !code || !value) {
|