summaryrefslogtreecommitdiffstats
path: root/src/lib/Form.ts
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-12-04 10:51:16 +0100
committerLibravatar GitHub <noreply@github.com>2021-12-04 10:51:16 +0100
commit11c992b04f3cad6badf0ae86da65f490e31dd359 (patch)
tree749e63f6ba3e9bea48c186b5d8502d328edfd276 /src/lib/Form.ts
parent5.6.4-nightly.24 [skip ci] (diff)
downloadferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.tar.gz
ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.tar.zst
ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.zip
chore: upgrade react-jss to latest (#2302)
Diffstat (limited to 'src/lib/Form.ts')
-rw-r--r--src/lib/Form.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/Form.ts b/src/lib/Form.ts
index 9b8321948..14ea82948 100644
--- a/src/lib/Form.ts
+++ b/src/lib/Form.ts
@@ -1,4 +1,5 @@
1import Form from 'mobx-react-form'; 1import Form from 'mobx-react-form';
2import vjf from 'mobx-react-form/lib/validators/VJF';
2 3
3export default class DefaultForm extends Form { 4export default class DefaultForm extends Form {
4 bindings() { 5 bindings() {
@@ -29,4 +30,10 @@ export default class DefaultForm extends Form {
29 // // }, 30 // // },
30 }; 31 };
31 } 32 }
33
34 plugins() {
35 return {
36 vjf: vjf(),
37 };
38 }
32} 39}