x
<div class="">
<div class="Polaris-Labelled__LabelWrapper">
<div class="Polaris-Label">
<label class="Polaris-Label__Text" for="store_name">Store name</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 Polaris-TextField--hasValue">
<input type="text" name="store_name" id="store_name" value="Jaded Pixel" data-polaris-text-field-target="input" data-action="polaris-text-field#syncValue" class="Polaris-TextField__Input" />
<button
type="button"
class="Polaris-TextField__ClearButton
"
tabindex="0"
data-polaris-text-field-target="clearButton"
data-action="polaris-text-field#clear"
>
<span class="Polaris-VisuallyHidden">Clear</span>
<span class="Polaris-Icon Polaris-Icon--colorBase Polaris-Icon--applyColor">
<svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16zM7.707 6.293a1 1 0 0 0-1.414 1.414L8.586 10l-2.293 2.293a1 1 0 1 0 1.414 1.414L10 11.414l2.293 2.293a1 1 0 1 0 1.414-1.414L11.414 10l2.293-2.293a1 1 0 0 0-1.414-1.414L10 8.586 7.707 6.293z"></path></svg>
</span>
</button>
<div class="Polaris-TextField__Backdrop"></div>
</div>
</div>
</div>
</div>
<%= polaris_text_field(
name: :store_name,
value: "Jaded Pixel",
label: "Store name",
clear_button: true,
) %>
No notes provided.
No params configured.