Skip to content

Commit c9224b4

Browse files
authored
Merge pull request #68 from workfloworchestrator/1802-downgrade-next-intl
1802 downgrade next intl
2 parents f62a451 + 0039c7f commit c9224b4

File tree

4 files changed

+29
-27
lines changed

4 files changed

+29
-27
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'pydantic-forms': patch
3+
---
4+
5+
Downgrades next-intl to version 3.x

frontend/package-lock.json

Lines changed: 22 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/packages/pydantic-forms/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "pydantic-forms",
33
"version": "0.1.2",
4-
"type": "module",
54
"description": "Library that turns JSONSchema into frontend forms",
65
"author": {
76
"name": "Workflow Orchestrator Programme",
@@ -60,7 +59,7 @@
6059
"dayjs": "^1.11.13",
6160
"i18next": "^24.1.2",
6261
"lodash": "^4.17.21",
63-
"next-intl": "^4.0.2",
62+
"next-intl": "^3.26.5",
6463
"react-hook-form": "^7.54.1",
6564
"swr": "^2.3.0",
6665
"zod": "^3.24.1",

frontend/packages/pydantic-forms/src/components/fields/IntegerField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const IntegerField = ({
1919
}}
2020
disabled={disabled}
2121
// Value will be an object when it is added by an array field. We do this be able to add more than one empty field
22-
value={_.isObject(value) ? undefined : value}
22+
value={_.isObject(value) ? '' : value}
2323
type="number"
2424
style={{
2525
padding: '8px',

0 commit comments

Comments
 (0)