diff --git a/lib/slax_web/components/core_components.ex b/lib/slax_web/components/core_components.ex index 9fa8f2b..68318c1 100644 --- a/lib/slax_web/components/core_components.ex +++ b/lib/slax_web/components/core_components.ex @@ -276,8 +276,8 @@ defmodule SlaxWeb.CoreComponents do attr :type, :string, default: "text", - values: ~w(checkbox color date datetime-local email file month number password - range search select tel text textarea time url week) + values: + ~w(checkbox color date datetime-local email file hidden month number password range search select tel text textarea time url week) attr :field, Phoenix.HTML.FormField, doc: "a form field struct retrieved from the form, for example: @form[:email]"