mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
Forms: Remove unsupported input types
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user