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 (!type || !code || !value) {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleven-solutions-common-website-unique-web",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "main": "./dist/index.js",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -48,7 +48,7 @@ const TaxonomyForm = () => {
48
48
  const [isMultiple, setIsMultiple] = useState(false);
49
49
 
50
50
  const validateForm = () => {
51
- if (!type || !code || !value) {
51
+ if (!inputType || !code || !value) {
52
52
  alert("Please fill in all required fields: Type, Code, and Value.");
53
53
  return false;
54
54
  }