x
<div class="Polaris-FormLayout">
<div role="group" class="Polaris-FormLayout--grouped">
<div class="Polaris-FormLayout__Items">
<div class="Polaris-FormLayout__Item">
<div class="">
<div class="Polaris-Labelled__LabelWrapper">
<div class="Polaris-Label">
<label class="Polaris-Label__Text">Minimum order</label>
</div>
</div>
<div class="Polaris-Connected">
<div class="Polaris-Connected__Item Polaris-Connected__Item--primary">
<div data-polaris-text-field-has-value-class="Polaris-TextField--hasValue" data-polaris-text-field-clear-button-hidden-class="Polaris-TextField__Hidden" data-controller="polaris-text-field" class="Polaris-TextField">
<input type="number" id="" data-polaris-text-field-target="input" data-action="polaris-text-field#syncValue" step="1" min="0" max="1000000" class="Polaris-TextField__Input" />
<div class="Polaris-TextField__Spinner" aria-hidden="true">
<div
role="button"
class="Polaris-TextField__Segment"
tabindex="-1"
data-action="click->polaris-text-field#increase"
>
<div class="Polaris-TextField__SpinnerIcon">
<span class="Polaris-Icon">
<svg viewBox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true">
<path d="M15 12l-5-5-5 5h10z"></path>
</svg>
</span> </div>
</div>
<div
role="button"
class="Polaris-TextField__Segment"
tabindex="-1"
data-action="click->polaris-text-field#decrease"
>
<div class="Polaris-TextField__SpinnerIcon">
<span class="Polaris-Icon">
<svg viewBox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true">
<path d="M5 8l5 5 5-5H5z"></path>
</svg>
</span> </div>
</div>
</div>
<div class="Polaris-TextField__Backdrop"></div>
</div>
</div>
</div>
</div>
</div>
<div class="Polaris-FormLayout__Item">
<div class="">
<div class="Polaris-Labelled__LabelWrapper">
<div class="Polaris-Label">
<label class="Polaris-Label__Text">Maximum order</label>
</div>
</div>
<div class="Polaris-Connected">
<div class="Polaris-Connected__Item Polaris-Connected__Item--primary">
<div data-polaris-text-field-has-value-class="Polaris-TextField--hasValue" data-polaris-text-field-clear-button-hidden-class="Polaris-TextField__Hidden" data-controller="polaris-text-field" class="Polaris-TextField">
<input type="number" id="" data-polaris-text-field-target="input" data-action="polaris-text-field#syncValue" step="1" min="0" max="1000000" class="Polaris-TextField__Input" />
<div class="Polaris-TextField__Spinner" aria-hidden="true">
<div
role="button"
class="Polaris-TextField__Segment"
tabindex="-1"
data-action="click->polaris-text-field#increase"
>
<div class="Polaris-TextField__SpinnerIcon">
<span class="Polaris-Icon">
<svg viewBox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true">
<path d="M15 12l-5-5-5 5h10z"></path>
</svg>
</span> </div>
</div>
<div
role="button"
class="Polaris-TextField__Segment"
tabindex="-1"
data-action="click->polaris-text-field#decrease"
>
<div class="Polaris-TextField__SpinnerIcon">
<span class="Polaris-Icon">
<svg viewBox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true">
<path d="M5 8l5 5 5-5H5z"></path>
</svg>
</span> </div>
</div>
</div>
<div class="Polaris-TextField__Backdrop"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<%= polaris_form_layout do |form_layout| %>
<% form_layout.group do |group| %>
<% group.item do %>
<%= polaris_text_field(label: "Minimum order", type: :number) %>
<% end %>
<% group.item do %>
<%= polaris_text_field(label: "Maximum order", type: :number) %>
<% end %>
<% end %>
<% end %>
No notes provided.
No params configured.