Form

can't be blank

Attribute Type Documentation Default Value
class :any []
rest :global
Required inner_block * :slot
<.form_label error>Email</.form_label>
<input type="email" placeholder="you@example.com"
  class="border-input h-9 w-full rounded-md border bg-transparent px-3 py-1 text-sm aria-invalid:border-destructive"
  aria-invalid="true" />
<.form_message errors={["can't be blank"]} />