From 765a9d009fc7fc33c0de17cb6e020083966e9a8f Mon Sep 17 00:00:00 2001 From: philipp lang Date: Tue, 16 Apr 2024 23:03:43 +0200 Subject: [PATCH] Add custom value --- index.html | 8 +++--- src/components/fields/Dropdown.vue | 4 +-- src/components/fields/VDropdown.vue | 38 +++++++++++++++++++++++++---- 3 files changed, 40 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index 671cf8b..2958e61 100644 --- a/index.html +++ b/index.html @@ -86,7 +86,8 @@ "a", "v" ], - "key": "dropdown" + "key": "dropdown", + "allowcustom": false }, { "name": "radio", @@ -106,7 +107,8 @@ "a", "v" ], - "key": "radio" + "key": "radio", + "allowcustom": false }, { "name": "text", @@ -157,7 +159,7 @@ "special_type": null, "key": "numerisch", "min": null, - "max": 7 + "max": "7" } ] } diff --git a/src/components/fields/Dropdown.vue b/src/components/fields/Dropdown.vue index 22f377b..572a47d 100644 --- a/src/components/fields/Dropdown.vue +++ b/src/components/fields/Dropdown.vue @@ -1,5 +1,5 @@