From 01ff371eedf3da5c9f671bad56f2d9b48fc493d8 Mon Sep 17 00:00:00 2001 From: axolotle Date: Sat, 6 Jul 2024 12:23:30 +0200 Subject: [PATCH] refactor: FormField ts + composition --- app/src/components/globals/FormField.vue | 211 +++++++++++++---------- app/src/composables/form.ts | 29 +++- app/src/helpers/commons.ts | 11 ++ app/src/types/form.ts | 81 ++++++++- 4 files changed, 243 insertions(+), 89 deletions(-) diff --git a/app/src/components/globals/FormField.vue b/app/src/components/globals/FormField.vue index 138277b8..cc2867a2 100644 --- a/app/src/components/globals/FormField.vue +++ b/app/src/components/globals/FormField.vue @@ -1,102 +1,99 @@ -