x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<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" class="Polaris-TextField Polaris-TextField--readOnly Polaris-TextField--hasValue"> <input type="text" name="store_name" id="store_name" value="Jaded Pixel" readonly="readonly" data-polaris-text-field-target="input" data-action="polaris-text-field#syncValue" class="Polaris-TextField__Input" /> <div class="Polaris-TextField__Backdrop"></div> </div> </div> </div></div>
1
2
3
4
5
6
<%= polaris_text_field( name: :store_name, value: 'Jaded Pixel', label: 'Store name', readonly: true,) %>
No notes provided.
No params configured.