Skip to content

Commit

Permalink
fix: adjust requiredObject logic
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikhorn93 committed Sep 6, 2022
1 parent 3c3adc1 commit 8dbe72c
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion digiwf-apps/lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"packages/components/digiwf-multi-file-input",
"packages/apps/digiwf-forms-example"
],
"version": "0.18.1"
"version": "0.18.2"
}
12 changes: 6 additions & 6 deletions digiwf-apps/packages/apps/digiwf-forms-example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions digiwf-apps/packages/apps/digiwf-forms-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
"name": "@muenchen/digiwf-forms-example",
"description": "DigiWF Forms",
"private": true,
"version": "0.18.1",
"version": "0.18.2",
"scripts": {
"dev": "vite --host localhost",
"build": "vite build"
},
"dependencies": {
"@koumoul/vjsf": "2.11.3",
"@muenchen/digiwf-form-builder": "^0.18.1",
"@muenchen/digiwf-form-builder-settings": "^0.18.1",
"@muenchen/digiwf-form-renderer": "^0.18.1",
"@muenchen/digiwf-multi-file-input": "^0.18.1",
"@muenchen/digiwf-form-builder": "^0.18.2",
"@muenchen/digiwf-form-builder-settings": "^0.18.2",
"@muenchen/digiwf-form-renderer": "^0.18.2",
"@muenchen/digiwf-multi-file-input": "^0.18.2",
"vue": "^2.7.10",
"vuetify": "^2.6.9"
},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@muenchen/digiwf-engine-api-internal",
"description": "Internal digiWF engine api",
"version": "0.18.1",
"version": "0.18.2",
"module": "dist/digiwf-engine-api-internal.mjs",
"scripts": {
"build": "vite build && tsc --emitDeclarationOnly",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@muenchen/digiwf-form-builder-settings",
"description": "Form Builder Settings",
"version": "0.18.1",
"version": "0.18.2",
"module": "dist/digiwf-form-builder-settings.mjs",
"scripts": {
"build": "vite build",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@muenchen/digiwf-form-builder",
"description": "Form Builder",
"version": "0.18.1",
"version": "0.18.2",
"module": "dist/digiwf-form-builder.mjs",
"scripts": {
"build": "vite build",
"watch": "vite build --watch"
},
"dependencies": {
"@muenchen/digiwf-form-builder-settings": "^0.18.1",
"@muenchen/digiwf-form-renderer": "^0.18.1"
"@muenchen/digiwf-form-builder-settings": "^0.18.2",
"@muenchen/digiwf-form-renderer": "^0.18.2"
},
"peerDependencies": {
"vue": "^2.7.0",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@muenchen/digiwf-form-renderer",
"description": "Form renderer",
"version": "0.18.1",
"version": "0.18.2",
"module": "dist/digiwf-form-renderer.mjs",
"scripts": {
"build": "vite build",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export default defineComponent({
required: function (v: any) {
return (!!v && v !== '') || 'Dieses Feld ist ein Pflichfeld';
},
requiredObject: function (v: { amount: number }) {
return (!!v && v.amount >= 1) || 'Dieses Feld ist ein Pflichfeld';
requiredObject: function (v: any) {
return (!!v && v.length >= 1) || 'Dieses Feld ist ein Pflichfeld';
}
};
currentValue.value = props.value;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@muenchen/digiwf-multi-file-input",
"description": "Form renderer",
"version": "0.18.1",
"version": "0.18.2",
"module": "dist/digiwf-multi-file-input.mjs",
"scripts": {
"build": "vite build",
"watch": "vite build --watch"
},
"dependencies": {
"@muenchen/digiwf-engine-api-internal": "^0.18.1"
"@muenchen/digiwf-engine-api-internal": "^0.18.2"
},
"peerDependencies": {
"vue": "^2.7.0",
Expand Down

0 comments on commit 8dbe72c

Please sign in to comment.