@stubber/form-fields 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -61,7 +61,10 @@
|
|
|
61
61
|
let open = false;
|
|
62
62
|
let loading = false;
|
|
63
63
|
|
|
64
|
-
$: dropdownLabel =
|
|
64
|
+
$: dropdownLabel =
|
|
65
|
+
items.find((i) => isEqual(i._value, $field.data.base))?._label ??
|
|
66
|
+
$field.data?.base_label ??
|
|
67
|
+
"Select...";
|
|
65
68
|
// We want to refocus the trigger button when the user selects
|
|
66
69
|
// an item from the list so users can continue navigating the
|
|
67
70
|
// rest of the form with the keyboard.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stubber/form-fields",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "An automatic form builder based on field specifications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
"svelte-check": "^3.4.3",
|
|
50
50
|
"tailwindcss": "^3.3.3",
|
|
51
51
|
"typescript": "^5.0.0",
|
|
52
|
-
"vite": "^5.0.0"
|
|
52
|
+
"vite": "^5.0.0",
|
|
53
|
+
"mongodb": "^6.3.0"
|
|
53
54
|
},
|
|
54
55
|
"type": "module",
|
|
55
56
|
"dependencies": {
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
"@codemirror/commands": "^6.7.1",
|
|
59
60
|
"@codemirror/state": "^6.4.1",
|
|
60
61
|
"@codemirror/view": "^6.34.1",
|
|
61
|
-
"@stubber/ui": "^1.
|
|
62
|
+
"@stubber/ui": "^1.4.1",
|
|
62
63
|
"ag-grid-community": "^31.0.2",
|
|
63
64
|
"ag-grid-enterprise": "^31.0.2",
|
|
64
65
|
"currency-symbol-map": "^5.1.0",
|
|
@@ -71,7 +72,6 @@
|
|
|
71
72
|
"jsonata": "^2.0.3",
|
|
72
73
|
"lodash-es": "^4.17.21",
|
|
73
74
|
"markdown-it": "^13.0.1",
|
|
74
|
-
"mongodb": "^6.3.0",
|
|
75
75
|
"signature_pad": "^4.1.6",
|
|
76
76
|
"svelte": "^4.2.19",
|
|
77
77
|
"svelte-file-dropzone": "^2.0.4",
|