Previews

No matching results.

x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<div class="polaris-text-field-wrapper">
<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" data-polaris-text-field-label-template-value="{count} characters" data-polaris-text-field-text-template-value="{count}/20" class="Polaris-TextField Polaris-TextField--hasValue">
<input type="text" name="store_name" id="store_name" value="Jaded Pixel" maxlength="20" data-polaris-text-field-target="input" data-action="polaris-text-field#syncValue" class="Polaris-TextField__Input" />
<div
class="
Polaris-TextField__CharacterCount
"
data-polaris-text-field-target="characterCount"
aria-label="11 of 20 characters used"
aria-atomic="true"
>
11/20
</div>
<div class="Polaris-TextField__Backdrop"></div>
</div>
</div>
</div>
</div>
1
2
3
4
5
6
7
<%= polaris_text_field(
name: :store_name,
label: "Store name",
value: "Jaded Pixel",
show_character_count: true,
maxlength: 20,
) %>