Text Input

<.form for={:story} let={f} class="w-full">
  <.text_input_group form={f} field={:address} label="Address" placeholder="Please type your address"/>
</.form>

Your full postal address.

<.form for={:story} let={f} class="w-full">
  <.text_input_group form={f} field={:address} hint="Your full postal address." label="Address" placeholder="Please type your address"/>
</.form>

this field is in error

<.form for={:story} let={f} class="w-full">
  <% f = %{f | data: %{foo: "not valid"}, errors: [foo: {"this field is in error", []}]} %>
  <.text_input_group form={f} field={:foo} label="Foo field"/>
</.form>