add accept attribute to input component
This commit is contained in:
parent
cb0c9d7a83
commit
7a28eca1ab
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ defmodule ChiyaWeb.CoreComponents do
|
||||||
attr :prompt, :string, default: nil, doc: "the prompt for select inputs"
|
attr :prompt, :string, default: nil, doc: "the prompt for select inputs"
|
||||||
attr :options, :list, doc: "the options to pass to Phoenix.HTML.Form.options_for_select/2"
|
attr :options, :list, doc: "the options to pass to Phoenix.HTML.Form.options_for_select/2"
|
||||||
attr :multiple, :boolean, default: false, doc: "the multiple flag for select inputs"
|
attr :multiple, :boolean, default: false, doc: "the multiple flag for select inputs"
|
||||||
attr :rest, :global, include: ~w(autocomplete cols disabled form max maxlength min minlength
|
attr :rest, :global, include: ~w(autocomplete accept cols disabled form max maxlength min minlength
|
||||||
pattern placeholder readonly required rows size step)
|
pattern placeholder readonly required rows size step)
|
||||||
slot :inner_block
|
slot :inner_block
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue