Sha256: 81c1fd28bcda2ecccbddcbc2a860ed25043bbd047a73765d6254d92ee77703e4
Contents?: true
Size: 729 Bytes
Versions: 12
Compression:
Stored size: 729 Bytes
Contents
<% stimulus_controller = "dependent-fields-frame" html_options ||= {} html_options[:data] ||= {} html_options[:data][:controller] ||= "" html_options[:data][:controller] += " #{stimulus_controller}" html_options[:data][:action] ||= "" html_options[:data][:action] += " dependable:updated->#{stimulus_controller}#updateFrameFromDependableField turbo:frame-render->#{stimulus_controller}#finishFrameUpdate" html_options[:data]["#{stimulus_controller}-loading-class"] ||= "opacity-60" dependable_fields ||= [] %> <%= turbo_frame_tag id, **html_options do %> <% dependable_fields.each do |method| accept_query_string_override_for(form, method) end %> <%= yield stimulus_controller %> <% end %>
Version data entries
12 entries across 12 versions & 1 rubygems