Sha256: e69712eb7019633ac1bbd6846abd2505dabdc891b32615cdf82b9f1c24b12228
Contents?: true
Size: 1.94 KB
Versions: 8
Compression:
Stored size: 1.94 KB
Contents
<% if comp leading_icon = comp.icon && comp.icon.position.select {|p| eq(p, :left)}.any? trailing_icon = comp.icon && comp.icon.position.select {|p| eq(p, :right)}.any? auto_complete = comp.auto_complete&.to_sym == :off ? 'extra-off' : comp.auto_complete behavior = comp.behavior || 'text' %> <div id="<%= comp.id %>" <% if comp.input_tag %>data-input-tag="<%= comp.input_tag %>"<% end %> <% if comp.dirtyable %>data-dirtyable<% end %> class="v-input v-text-field v-focusable mdc-text-field mdc-text-field--outlined <%= 'mdc-text-field--with-leading-icon' if leading_icon %> <%= 'mdc-text-field--with-trailing-icon' if trailing_icon %> <%= 'mdc-text-field--disabled' if comp.disabled %>" data-case_type="<%= comp.case_type %>" style="<%= 'width:100%' if comp.full_width %>"> <input id="<%= comp.id %>-input" name="<%= comp.name %>" <%= behavior %> value="<%= comp.value %>" class="mdc-text-field__input" aria-controls="<%= comp.id %>-input-helper-text" <% if comp.disabled %>disabled<% end %> <%= 'required' if comp.required %> <%= "pattern='#{comp.pattern}'" if comp.pattern %> autocomplete="<%= auto_complete %>" list="<%= comp.id %>-list" <%= partial "components/event", :locals => {comp: comp, events: comp.events, parent_id: "#{comp.id}-input"} if comp.events&.any? %>> <%= partial "components/icon", :locals => {comp: comp.icon, class_name: 'mdc-text-field__icon', parent_id: "#{comp.id}-input"} if comp.icon %> <%= partial "components/shared/input_label", :locals => {comp: comp} %> <datalist id="<%= comp.id %>-list"> </datalist> </div> <%= partial "components/shared/hint_error_display", :locals => {comp: comp} %> <%= partial "components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id} if comp.tooltip %> <% end %>
Version data entries
8 entries across 8 versions & 1 rubygems