diff --git a/apps/api/package.json b/apps/api/package.json index 6bc9e435..dda18e25 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -1,6 +1,6 @@ { "name": "@impler/api", - "version": "0.27.2", + "version": "0.27.3", "author": "implerhq", "license": "MIT", "private": true, diff --git a/apps/queue-manager/package.json b/apps/queue-manager/package.json index 82303332..4eedd4ca 100644 --- a/apps/queue-manager/package.json +++ b/apps/queue-manager/package.json @@ -1,6 +1,6 @@ { "name": "@impler/queue-manager", - "version": "0.27.2", + "version": "0.27.3", "author": "implerhq", "license": "MIT", "private": true, diff --git a/apps/web/design-system/validation/MinMaxValidation.tsx b/apps/web/design-system/validation/MinMaxValidation.tsx index 4c3bbab7..28f47684 100644 --- a/apps/web/design-system/validation/MinMaxValidation.tsx +++ b/apps/web/design-system/validation/MinMaxValidation.tsx @@ -45,7 +45,7 @@ export function MinMaxValidation({ control={control} name={`validations.${index}.min`} rules={{ - validate: (value, formValues) => validateMinMax(value, (formValues.validations?.[index] as any).max), + validate: (value, formValues) => validateMinMax(value, (formValues.validations?.[index] as any)?.max), }} render={({ field }) => ( (value === '' ? field.onChange(undefined) : field.onChange(value))} + value={field.value ? field.value : undefined} + onChange={(value) => field.onChange(value === '' ? undefined : value)} /> )} /> @@ -62,7 +62,7 @@ export function MinMaxValidation({ control={control} name={`validations.${index}.max`} rules={{ - validate: (value, formValues) => validateMinMax((formValues.validations?.[index] as any).min, value), + validate: (value, formValues) => validateMinMax((formValues.validations?.[index] as any)?.min, value), }} render={({ field }) => ( (value === '' ? field.onChange(undefined) : field.onChange(value))} + value={field.value ? field.value : undefined} + onChange={(value) => field.onChange(value === '' ? undefined : value)} /> )} /> diff --git a/apps/web/package.json b/apps/web/package.json index 76827b09..caca0842 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -1,6 +1,6 @@ { "name": "@impler/web", - "version": "0.27.2", + "version": "0.27.3", "author": "implerhq", "license": "MIT", "private": true, diff --git a/apps/widget/package.json b/apps/widget/package.json index 6e37b463..fd4de58e 100644 --- a/apps/widget/package.json +++ b/apps/widget/package.json @@ -1,6 +1,6 @@ { "name": "@impler/widget", - "version": "0.27.2", + "version": "0.27.3", "author": "implerhq", "license": "MIT", "private": true, diff --git a/lerna.json b/lerna.json index 01010b1e..431ae129 100644 --- a/lerna.json +++ b/lerna.json @@ -7,5 +7,5 @@ "libs/*", "packages/*" ], - "version": "0.27.2" + "version": "0.27.3" } diff --git a/libs/dal/package.json b/libs/dal/package.json index fe0f61f5..25765ccc 100644 --- a/libs/dal/package.json +++ b/libs/dal/package.json @@ -1,6 +1,6 @@ { "name": "@impler/dal", - "version": "0.27.2", + "version": "0.27.3", "author": "implerhq", "license": "MIT", "main": "dist/index.js", diff --git a/libs/embed/package.json b/libs/embed/package.json index f4742e24..d28b28f0 100644 --- a/libs/embed/package.json +++ b/libs/embed/package.json @@ -1,6 +1,6 @@ { "name": "@impler/embed", - "version": "0.27.2", + "version": "0.27.3", "private": true, "license": "MIT", "author": "implerhq", diff --git a/libs/services/package.json b/libs/services/package.json index aea5ec17..04aeeeac 100644 --- a/libs/services/package.json +++ b/libs/services/package.json @@ -1,6 +1,6 @@ { "name": "@impler/services", - "version": "0.27.2", + "version": "0.27.3", "description": "Reusable services to shared between backend api and queue-manager", "license": "MIT", "author": "implerhq", diff --git a/libs/shared/package.json b/libs/shared/package.json index 418f8ce7..b90f53ed 100644 --- a/libs/shared/package.json +++ b/libs/shared/package.json @@ -1,6 +1,6 @@ { "name": "@impler/shared", - "version": "0.27.2", + "version": "0.27.3", "description": "Reusable types and classes to shared between apps and libraries", "license": "MIT", "author": "implerhq", diff --git a/package.json b/package.json index 1332b6f7..6d3859ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "impler.io", - "version": "0.27.1", + "version": "0.27.3", "description": "Open source infrastructure to import data easily", "packageManager": "pnpm@8.9.0", "private": true, diff --git a/packages/angular/package.json b/packages/angular/package.json index 1f79cbe3..139bb6e8 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -1,6 +1,6 @@ { "name": "@impler/angular", - "version": "0.27.2", + "version": "0.27.3", "description": "Angular library to show CSV Excel Importer in angular applications", "license": "MIT", "author": "implerhq", @@ -52,6 +52,6 @@ "typescript": "^4.4.4" }, "dependencies": { - "@impler/client": "^0.27.2" + "@impler/client": "^0.27.3" } } diff --git a/packages/client/package.json b/packages/client/package.json index 66af7c5e..67905f67 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@impler/client", - "version": "0.27.2", + "version": "0.27.3", "description": "API client to be used in end user environments", "license": "MIT", "author": "implerhq", diff --git a/packages/react/package.json b/packages/react/package.json index c63b0d16..4cff0739 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@impler/react", - "version": "0.27.2", + "version": "0.27.3", "description": "React library to show CSV Excel Importer in react applications", "license": "MIT", "author": "implerhq", @@ -53,6 +53,6 @@ "typescript": "^4.4.4" }, "dependencies": { - "@impler/client": "^0.27.2" + "@impler/client": "^0.27.3" } }