Forms: Remove unsupported input types

This commit is contained in:
Dennis Reimann 2025-02-10 15:08:58 +01:00
parent 88d8d1b848
commit 1d44cad847
No known key found for this signature in database
GPG key ID: 5009E1797F03F8D0

View file

@ -11,13 +11,9 @@ public class HtmlInputFormProvider : FormComponentProviderBase
{ {
foreach (var t in new[] { foreach (var t in new[] {
"text", "text",
"radio",
"checkbox", "checkbox",
"password", "password",
"file",
"hidden", "hidden",
"button",
"submit",
"color", "color",
"date", "date",
"datetime-local", "datetime-local",
@ -25,13 +21,9 @@ public class HtmlInputFormProvider : FormComponentProviderBase
"week", "week",
"time", "time",
"email", "email",
"image",
"number", "number",
"range",
"search",
"url", "url",
"tel", "tel"})
"reset"})
typeToComponentProvider.Add(t, this); typeToComponentProvider.Add(t, this);
} }
public override string View => "Forms/InputElement"; public override string View => "Forms/InputElement";