Sha256: 74e836655776989dd3c6db6cab029dd4773cdd3a637d733dec4247f8fcd4c474
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
Contents
<%= render Yattho::BaseComponent.new(**@system_arguments) do %> <div class="<%= @form_group_classes %>"> <label for="<%= @input_id %>" class="FormControl-label <% if @visually_hide_label %>sr-only<% end %>"> <%= @label_text %> </label> <% if leading_visual || @show_clear_button %> <div class="<%= @field_wrap_classes %> <% if leading_visual %>FormControl-input-wrap--leadingVisual<% end %>"> <span class="FormControl-input-leadingVisualWrap"> <%= leading_visual %> </span> <%= input %> <% if @show_clear_button %> <button id="<%= @input_id %>-clear" class="FormControl-input-trailingAction" aria-label="Clear"><%= yattho_octicon "x-circle-fill" %></button> <% end %> </div> <% else %> <%= input %> <% end %> </div> <div class="Overlay-backdrop--anchor"> <div class="Overlay Overlay--height-auto Overlay--width-auto"> <div class="Overlay-body Overlay-body--paddingNone"> <%= results %> </div> </div> </div> <div id="<%= @list_id %>-feedback" class="sr-only"></div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yattho_view_components-0.1.1 | app/components/yattho/beta/auto_complete/auto_complete.html.erb |
yattho_view_components-0.0.1 | app/components/yattho/beta/auto_complete/auto_complete.html.erb |