From 7a28eca1abae77772f3cfbf276bea64984fd6aac Mon Sep 17 00:00:00 2001 From: Inhji Date: Sun, 9 Apr 2023 13:44:08 +0200 Subject: [PATCH] add accept attribute to input component --- lib/chiya_web/components/core_components.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chiya_web/components/core_components.ex b/lib/chiya_web/components/core_components.ex index 7fa23d8..8437182 100644 --- a/lib/chiya_web/components/core_components.ex +++ b/lib/chiya_web/components/core_components.ex @@ -321,7 +321,7 @@ defmodule ChiyaWeb.CoreComponents do 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 :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) slot :inner_block