Skip to content

Commit e0b2984

Browse files
authored
Enable multi-select behavior in Select playground (#2763)
1 parent 6e8f16c commit e0b2984

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

previews/primer/alpha/select_preview.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class SelectPreview < ViewComponent::Preview
1111
# @param label text
1212
# @param caption text
1313
# @param required toggle
14+
# @param multiple toggle
1415
# @param visually_hide_label toggle
1516
# @param size [Symbol] select [small, medium, large]
1617
# @param full_width toggle
@@ -23,6 +24,7 @@ def playground(
2324
label: "Favorite place to visit",
2425
caption: "They're all good",
2526
required: false,
27+
multiple: false,
2628
visually_hide_label: false,
2729
size: Primer::Forms::Dsl::Input::DEFAULT_SIZE.to_s,
2830
full_width: true,
@@ -36,6 +38,7 @@ def playground(
3638
label: label,
3739
caption: caption,
3840
required: required,
41+
multiple: multiple,
3942
visually_hide_label: visually_hide_label,
4043
size: size,
4144
full_width: full_width,

0 commit comments

Comments
 (0)