   attr :id, :any
   attr :name, :any
   attr :label, :string, default: nil
+  attr :autocomplete, :boolean, default: false
+  attr :required, :boolean, default: false
+  attr :pattern, :string, default: nil
 
   attr :type, :string,
     default: "text",

      <select
        id={@id}
        name={@name}
        autocomplete={@name}
        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}
      >

        type={@type}
        name={@name}
        id={@id || @name}
        pattern={@pattern}
        value={@value}
        class={[
          input_border(@errors),
