Sha256: 000b74caa9df641dfd557b41708f2fd6f2c98daa2824eddee1e0db0461abe66d

Contents?: true

Size: 551 Bytes

Versions: 28

Compression:

Stored size: 551 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
  src: select_panel_items_path(fail: "true", uuid: SecureRandom.uuid),
  fetch_strategy: :remote,
  open_on_load: open_on_load
)) 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

28 entries across 28 versions & 2 rubygems

Version Path
openproject-primer_view_components-0.41.0 previews/primer/alpha/select_panel_preview/remote_fetch_filter_failure.html.erb
openproject-primer_view_components-0.40.0 previews/primer/alpha/select_panel_preview/remote_fetch_filter_failure.html.erb
primer_view_components-0.30.0 previews/primer/alpha/select_panel_preview/remote_fetch_filter_failure.html.erb
openproject-primer_view_components-0.39.1 previews/primer/alpha/select_panel_preview/remote_fetch_filter_failure.html.erb
openproject-primer_view_components-0.39.0 previews/primer/alpha/select_panel_preview/remote_fetch_filter_failure.html.erb
openproject-primer_view_components-0.38.0 previews/primer/alpha/select_panel_preview/remote_fetch_filter_failure.html.erb
primer_view_components-0.29.0 previews/primer/alpha/select_panel_preview/remote_fetch_filter_failure.html.erb
primer_view_components-0.28.0 previews/primer/alpha/select_panel_preview/remote_fetch_filter_failure.html.erb