mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Forms: Remove unsupported input types
This commit is contained in:
parent
88d8d1b848
commit
1d44cad847
1 changed files with 1 additions and 9 deletions
|
@ -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";
|
||||||
|
|
Loading…
Add table
Reference in a new issue