x
<form action="/products" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="WOhl0oz8jT5oEXTSLjLgRkXut1ycFxfc2u5Sz6Nck-FSv-dtXon2xsVHAJXfJWv1e6wO6klhptnlXZ049CMrig" autocomplete="off" />
<div class="">
<div class="Polaris-Labelled__LabelWrapper">
<div class="Polaris-Label">
<label class="Polaris-Label__Text" for="product_title">Title</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 data-polaris-text-field-target="input" data-action="polaris-text-field#syncValue" class="Polaris-TextField__Input" type="text" value="Product Name" name="product[title]" id="product_title" />
<div class="Polaris-TextField__Backdrop"></div>
</div>
</div>
</div>
<div class="Polaris-Labelled__HelpText">
Note about text field
</div>
</div>
</form>
<%= form_with(model: product, builder: Polaris::FormBuilder) do |form| %>
<%= form.polaris_text_field(:title, help_text: "Note about text field") %>
<% end %>
No notes provided.
No params configured.