Sha256: c57b727a5127a32a43095cda85c7a9e6081dca2a17a694ad6b9db561b0fd7493
Contents?: true
Size: 878 Bytes
Versions: 46
Compression:
Stored size: 878 Bytes
Contents
<% subject_id = SecureRandom.hex %> <%= render(Primer::Alpha::SelectPanel.new( data: { interaction_subject: subject_id }, select_variant: :multiple, fetch_strategy: :local, dynamic_label: true, dynamic_label_prefix: "Item", dynamic_aria_label_prefix: "Selected item", open_on_load: open_on_load )) do |panel| %> <% panel.with_show_button { "Choose item" } %> <% panel.with_item(label: "Item 1") %> <% panel.with_item(label: "Item 2") %> <% panel.with_item(label: "Item 3") %> <% panel.with_item(label: "Item 4") %> <% panel.with_footer(show_divider: true) do %> <%= render(Primer::Beta::Button.new(scheme: :default)) { "Cancel" } %> <%= render(Primer::Beta::Button.new(scheme: :primary)) { "Save" } %> <% end %> <% end %> <%= render partial: "primer/alpha/select_panel_preview/interaction_subject_js", locals: { subject_id: subject_id } %>
Version data entries
46 entries across 46 versions & 2 rubygems