Sha256: e5c80e495d097aee4916857a3fd9c616c282c10c4adc00f2e310f41ac427e0cf
Contents?: true
Size: 678 Bytes
Versions: 18
Compression:
Stored size: 678 Bytes
Contents
<% subject_id = SecureRandom.hex %> <%= render(Primer::Alpha::SelectPanel.new( data: { interaction_subject: subject_id }, # passing a uuid here causes the request to succeed the first time and fail all subsequent times # set show_results to false to simulate an initial load with no items src: select_panel_items_path(show_results: show_results.to_s, fail: "true", uuid: SecureRandom.uuid), fetch_strategy: :remote, open_on_load: open_on_load, **system_arguments )) do |panel| %> <% panel.with_show_button { "Sci-fi equipment" } %> <% end %> <%= render partial: "primer/alpha/select_panel_preview/interaction_subject_js", locals: { subject_id: subject_id } %>
Version data entries
18 entries across 18 versions & 2 rubygems