playbook_ui 12.26.1.pre.alpha.railsmultilevelimprovements835 → 12.26.1.pre.alpha.railsmultilevelimprovements837
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ca2979d2d2dce896cbd931128d16f009ea094fb97863839bec2769f608a8685
|
4
|
+
data.tar.gz: ddad02da8f1a8565bb061b5b8fdf0a951ac0477cf76c3feb9a28052e7c5211d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a151642570e4219df5ed3549b1fcdf363e53d9d5abfe4f1e588dc8811cb00403730cb840300d18cf2895b86349d4fa772f7d24823fa290429e75f893dfcf7a2
|
7
|
+
data.tar.gz: c21ca5e915f415f3f36c0d7376442c1eb64fee6880e55c338d8e98dd72adadca37010031bf0c0eac120bc19daa6743bb316b7d22626b275ef4029068864913d7
|
@@ -334,7 +334,7 @@ const MultiLevelSelect = (props: MultiLevelSelectProps) => {
|
|
334
334
|
<div className='input_wrapper' onClick={handleInputWrapperClick}>
|
335
335
|
<div className='input_inner_container'>
|
336
336
|
{returnedArray.map((item) => (
|
337
|
-
<input type='hidden' name={name} value={item.id} />
|
337
|
+
<input type='hidden' name={`${name}[]`} value={item.id} />
|
338
338
|
))}
|
339
339
|
|
340
340
|
{returnedArray.length !== 0 && returnAllSelected
|
@@ -8,7 +8,6 @@
|
|
8
8
|
label: "People",
|
9
9
|
value: "People",
|
10
10
|
id: "people1",
|
11
|
-
checked: true,
|
12
11
|
children: [
|
13
12
|
{
|
14
13
|
label: "Talent Acquisition",
|
@@ -19,7 +18,6 @@
|
|
19
18
|
label: "Business Affairs",
|
20
19
|
value: "Business Affairs",
|
21
20
|
id: "business1",
|
22
|
-
checked: true,
|
23
21
|
children: [
|
24
22
|
{
|
25
23
|
label: "Initiatives",
|
@@ -70,7 +68,7 @@
|
|
70
68
|
<%= pb_form_with(scope: :example, url: "", method: :get) do |form| %>
|
71
69
|
<%= pb_rails("multi_level_select", props: {
|
72
70
|
id: "default-multi-level-select-test",
|
73
|
-
name: "my_array
|
71
|
+
name: "my_array",
|
74
72
|
tree_data: treeData
|
75
73
|
}) %>
|
76
74
|
<%= form.actions do |action| %>
|