mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 06:21:44 +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[] {
|
||||
"text",
|
||||
"radio",
|
||||
"checkbox",
|
||||
"password",
|
||||
"file",
|
||||
"hidden",
|
||||
"button",
|
||||
"submit",
|
||||
"color",
|
||||
"date",
|
||||
"datetime-local",
|
||||
|
@ -25,13 +21,9 @@ public class HtmlInputFormProvider : FormComponentProviderBase
|
|||
"week",
|
||||
"time",
|
||||
"email",
|
||||
"image",
|
||||
"number",
|
||||
"range",
|
||||
"search",
|
||||
"url",
|
||||
"tel",
|
||||
"reset"})
|
||||
"tel"})
|
||||
typeToComponentProvider.Add(t, this);
|
||||
}
|
||||
public override string View => "Forms/InputElement";
|
||||
|
|
Loading…
Add table
Reference in a new issue