eleven-solutions-common-website-unique-web 4.0.1 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,7 @@ const TaxonomyForm = () => {
|
|
28
28
|
const [selectedTaxonomyId, setSelectedTaxonomyId] = useState("");
|
29
29
|
const [isMultiple, setIsMultiple] = useState(false);
|
30
30
|
const validateForm = () => {
|
31
|
-
if (!
|
31
|
+
if (!inputType || !code || !value) {
|
32
32
|
alert("Please fill in all required fields: Type, Code, and Value.");
|
33
33
|
return false;
|
34
34
|
}
|
package/package.json
CHANGED
@@ -48,7 +48,7 @@ const TaxonomyForm = () => {
|
|
48
48
|
const [isMultiple, setIsMultiple] = useState(false);
|
49
49
|
|
50
50
|
const validateForm = () => {
|
51
|
-
if (!
|
51
|
+
if (!inputType || !code || !value) {
|
52
52
|
alert("Please fill in all required fields: Type, Code, and Value.");
|
53
53
|
return false;
|
54
54
|
}
|