fix: add hidden type to input core component
This commit is contained in:
parent
5c186d687c
commit
bda89b0b01
@ -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]"
|
||||
|
Loading…
x
Reference in New Issue
Block a user