Sha256: 16417a58117d1111c1dd5f94774ff04195069e41c410334a01013c0d27de5c2c
Contents?: true
Size: 1.95 KB
Versions: 8
Compression:
Stored size: 1.95 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 %> <div id="<%= comp.id %>" <%= "data-input-tag='#{comp.input_tag}'" if comp.input_tag %> <%= 'data-dirtyable' if comp.dirtyable %> 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 %>" style="<%= 'width:100%' if comp.full_width %>"> <input id="<%= comp.id %>-input" name="<%= comp.name %>" type="number" <%= "min='#{comp.min}'" if comp.min %> <%= "max='#{comp.max}'" if comp.max %> <%= "step='#{comp.step}'" if comp.step %> <%= 'readonly' if comp.readonly %> 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 %>" <%= 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} %> </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