From 5a930e98a70b034787e6258e626a37c4f3bc0113 Mon Sep 17 00:00:00 2001
From: Eshaan Aggarwal <96648934+EshaanAgg@users.noreply.github.com>
Date: Sat, 9 Mar 2024 01:06:22 +0530
Subject: [PATCH 01/14] introduce v-model approach
---
.../frontend/accounts/pages/Create.vue | 1 +
.../frontend/shared/views/form/Checkbox.vue | 116 ++++++++++++++++--
2 files changed, 110 insertions(+), 7 deletions(-)
diff --git a/contentcuration/contentcuration/frontend/accounts/pages/Create.vue b/contentcuration/contentcuration/frontend/accounts/pages/Create.vue
index b211cd5634..474fe92625 100644
--- a/contentcuration/contentcuration/frontend/accounts/pages/Create.vue
+++ b/contentcuration/contentcuration/frontend/accounts/pages/Create.vue
@@ -424,6 +424,7 @@
return id === uses.OTHER && this.form.uses.includes(id);
},
submit() {
+ console.log(this.form.uses);
if (this.$refs.form.validate()) {
const cleanedData = this.clean(this.form);
return this.register(cleanedData)
diff --git a/contentcuration/contentcuration/frontend/shared/views/form/Checkbox.vue b/contentcuration/contentcuration/frontend/shared/views/form/Checkbox.vue
index f137545c48..b783f92e4d 100644
--- a/contentcuration/contentcuration/frontend/shared/views/form/Checkbox.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/form/Checkbox.vue
@@ -1,21 +1,123 @@
+
+
+
+
+
+
+
+