using System.Collections.Generic; using BTCPayServer.Abstractions.Form; using Newtonsoft.Json.Linq; namespace BTCPayServer.Forms; public class HtmlFieldsetFormProvider : IFormComponentProvider { public string View => "Forms/FieldSetElement"; public void Register(Dictionary typeToComponentProvider) { typeToComponentProvider.Add("fieldset", this); } public string GetValue(Form form, Field field) { return null; } public void SetValue(Field field, JToken value) { //ignored } public void Validate(Form form, Field field) { } }