Form System Flexibility improvements (#4774)

* Introduce very flexible form input system

* Refactorings after rebase

* Test fix

* Update BTCPayServer/Forms/FormDataService.cs

---------

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
This commit is contained in:
Andrew Camilleri
2023-04-04 04:01:34 +02:00
committed by GitHub
parent 11f05285a1
commit 60d6e98c67
13 changed files with 92 additions and 48 deletions

View File

@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Linq;
using BTCPayServer.Abstractions.Form;
namespace BTCPayServer.Forms;
@@ -13,8 +12,9 @@ public class HtmlFieldsetFormProvider : IFormComponentProvider
typeToComponentProvider.Add("fieldset", this);
}
public void Validate(Field field)
public string GetValue(Form form, Field field)
{
return null;
}
public void Validate(Form form, Field field)