@commercetools-uikit/select-input 19.11.0 → 19.12.0
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.
|
@@ -156,7 +156,7 @@ const SelectInput = props => {
|
|
|
156
156
|
// state as an array instead of a boolean only.
|
|
157
157
|
// Otherwise the shapes would clash on submission, as
|
|
158
158
|
// Formik will create an array on submission anyways.
|
|
159
|
-
return props.name ?
|
|
159
|
+
return props.name ? `${props.name}.0` : undefined;
|
|
160
160
|
})()
|
|
161
161
|
},
|
|
162
162
|
persist: () => {}
|
|
@@ -155,7 +155,7 @@ const SelectInput = props => {
|
|
|
155
155
|
// state as an array instead of a boolean only.
|
|
156
156
|
// Otherwise the shapes would clash on submission, as
|
|
157
157
|
// Formik will create an array on submission anyways.
|
|
158
|
-
return props.name ?
|
|
158
|
+
return props.name ? `${props.name}.0` : undefined;
|
|
159
159
|
})()
|
|
160
160
|
},
|
|
161
161
|
persist: () => {}
|
|
@@ -133,7 +133,7 @@ const SelectInput = props => {
|
|
|
133
133
|
// state as an array instead of a boolean only.
|
|
134
134
|
// Otherwise the shapes would clash on submission, as
|
|
135
135
|
// Formik will create an array on submission anyways.
|
|
136
|
-
return props.name ?
|
|
136
|
+
return props.name ? `${props.name}.0` : undefined;
|
|
137
137
|
})()
|
|
138
138
|
},
|
|
139
139
|
persist: () => {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/select-input",
|
|
3
3
|
"description": "An input component getting a selection from the user.",
|
|
4
|
-
"version": "19.
|
|
4
|
+
"version": "19.12.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/constraints": "19.
|
|
25
|
-
"@commercetools-uikit/design-system": "19.
|
|
26
|
-
"@commercetools-uikit/icons": "19.
|
|
27
|
-
"@commercetools-uikit/select-utils": "19.
|
|
28
|
-
"@commercetools-uikit/utils": "19.
|
|
24
|
+
"@commercetools-uikit/constraints": "19.12.0",
|
|
25
|
+
"@commercetools-uikit/design-system": "19.12.0",
|
|
26
|
+
"@commercetools-uikit/icons": "19.12.0",
|
|
27
|
+
"@commercetools-uikit/select-utils": "19.12.0",
|
|
28
|
+
"@commercetools-uikit/utils": "19.12.0",
|
|
29
29
|
"@emotion/is-prop-valid": "1.2.2",
|
|
30
30
|
"@emotion/react": "^11.10.5",
|
|
31
31
|
"@emotion/styled": "^11.10.5",
|