       <select
         id={@id}
         name={@name}
-        autocomplete={@name}
+        autocomplete={@autocomplete || @name}
+        required={@required}
         class="mt-1 block w-full py-2 px-3 border border-gray-300 bg-white rounded-md shadow-sm focus:outline-none focus:ring-zinc-500 focus:border-zinc-500 sm:text-sm"
         {@rest}
       >

  attr :id, :any
  attr :name, :any
  attr :label, :string, default: nil

  attr :type, :string,
    default: "text",

      <textarea
        id={@id || @name}
        name={@name}
        autocomplete={@autocomplete}
        required={@required}
        class={[
          input_border(@errors),
          "mt-2 block min-h-[6rem] w-full rounded-lg border-zinc-300 py-[calc(theme(spacing.2)-1px)] px-[calc(theme(spacing.3)-1px)]",
