Form

should be at least 8 character(s)

must contain a number

Attribute Type Documentation Default Value
class :any []
rest :global
Required inner_block * :slot
<.form_label error>Password</.form_label>
<input type="password" placeholder="Password"
  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={["should be at least 8 character(s)", "must contain a number"]} />