<inputname="q"type="text"class="search-input"placeholder="Search..."aria-label="Input your search terms"autocomplete="off"autocorrect="off"autocapitalize="off"spellcheck="false"/>
<divclass="summary-synopsis"><h2>Attributes</h2><ul><li><codeclass="inline">id</code> (<codeclass="inline">:any</code>) - Defaults to <codeclass="inline">nil</code>.</li><li><codeclass="inline">label</code> (<codeclass="inline">:string</code>) - Defaults to <codeclass="inline">nil</code>.</li><li><codeclass="inline">field</code> (<ahref="https://hexdocs.pm/phoenix_html/3.3.1/Phoenix.HTML.FormField.html"><codeclass="inline">Phoenix.HTML.FormField</code></a>) (required) - a form field struct retrieved from the form, for example: @form[:password].</li><li><codeclass="inline">strength</code> (<codeclass="inline">:any</code>)</li><li>Global attributes are accepted.</li></ul></div>
<divclass="summary-synopsis"><h2>Attributes</h2><ul><li><codeclass="inline">minimum</code> (<codeclass="inline">:integer</code>) (required)</li><li><codeclass="inline">class</code> (<codeclass="inline">:any</code>)</li><li><codeclass="inline">ok_class</code> (<codeclass="inline">:any</code>)</li><li><codeclass="inline">error_class</code> (<codeclass="inline">:any</code>)</li><li><codeclass="inline">field</code> (<ahref="https://hexdocs.pm/phoenix_html/3.3.1/Phoenix.HTML.FormField.html"><codeclass="inline">Phoenix.HTML.FormField</code></a>) (required) - a form field struct retrieved from the form, for example: @form[:password].</li></ul></div>
<p>Renders an input with label and error messages.</p><p>A <ahref="https://hexdocs.pm/phoenix_html/3.3.1/Phoenix.HTML.FormField.html"><codeclass="inline">Phoenix.HTML.FormField</code></a> may be passed as argument,
which is used to retrieve the input name, id, and values.
Otherwise all attributes may be passed explicitly.</p><h2id="input/1-examples"class="section-heading">
<ul><li><codeclass="inline">id</code> (<codeclass="inline">:any</code>) - Defaults to <codeclass="inline">nil</code>.</li><li><codeclass="inline">name</code> (<codeclass="inline">:any</code>)</li><li><codeclass="inline">label</code> (<codeclass="inline">:string</code>) - Defaults to <codeclass="inline">nil</code>.</li><li><codeclass="inline">value</code> (<codeclass="inline">:any</code>)</li><li><codeclass="inline">type</code> (<codeclass="inline">:string</code>) - Defaults to <codeclass="inline">"text"</code>.</li><li><codeclass="inline">field</code> (<ahref="https://hexdocs.pm/phoenix_html/3.3.1/Phoenix.HTML.FormField.html"><codeclass="inline">Phoenix.HTML.FormField</code></a>) - a form field struct retrieved from the form, for example: @form[:email].</li><li><codeclass="inline">errors</code> (<codeclass="inline">:list</code>) - Defaults to <codeclass="inline">[]</code>.</li><li><codeclass="inline">checked</code> (<codeclass="inline">:boolean</code>) - the checked flag for checkbox inputs.</li><li><codeclass="inline">prompt</code> (<codeclass="inline">:string</code>) - the prompt for select inputs. Defaults to <codeclass="inline">nil</code>.</li><li><codeclass="inline">options</code> (<codeclass="inline">:list</code>) - the options to pass to Phoenix.HTML.Form.options_for_select/2.</li><li><codeclass="inline">multiple</code> (<codeclass="inline">:boolean</code>) - the multiple flag for select inputs. Defaults to <codeclass="inline">false</code>.</li><li>Global attributes are accepted.</li></ul><h2id="input/1-slots"class="section-heading">
<ul><li><codeclass="inline">id</code> (<codeclass="inline">:any</code>) - Defaults to <codeclass="inline">nil</code>.</li><li><codeclass="inline">label</code> (<codeclass="inline">:string</code>) - Defaults to <codeclass="inline">nil</code>.</li><li><codeclass="inline">field</code> (<ahref="https://hexdocs.pm/phoenix_html/3.3.1/Phoenix.HTML.FormField.html"><codeclass="inline">Phoenix.HTML.FormField</code></a>) (required) - a form field struct retrieved from the form, for example: @form[:password].</li><li><codeclass="inline">strength</code> (<codeclass="inline">:any</code>)</li><li>Global attributes are accepted.</li></ul>
<ul><li><codeclass="inline">minimum</code> (<codeclass="inline">:integer</code>) (required)</li><li><codeclass="inline">class</code> (<codeclass="inline">:any</code>)</li><li><codeclass="inline">ok_class</code> (<codeclass="inline">:any</code>)</li><li><codeclass="inline">error_class</code> (<codeclass="inline">:any</code>)</li><li><codeclass="inline">field</code> (<ahref="https://hexdocs.pm/phoenix_html/3.3.1/Phoenix.HTML.FormField.html"><codeclass="inline">Phoenix.HTML.FormField</code></a>) (required) - a form field struct retrieved from the form, for example: @form[:password].</li></ul>
</section>
</section>
<sectionclass="detail"id="strength_meter/1">
<divclass="detail-header">
<ahref="#strength_meter/1"class="detail-link"title="Link to this function">