1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-09-18 06:24:48 +02:00
Files
2022-10-08 12:23:15 +02:00

18 lines
448 B
C#

using Microsoft.AspNetCore.Components.Forms;
using Phantom.Server.Web.Components.Utils;
namespace Phantom.Server.Web.Components.Forms;
public abstract class FormModel {
public EditContext EditContext { get; }
public FormButtonSubmit.SubmitModel SubmitModel { get; } = new ();
protected FormModel() {
EditContext = BootstrapEditContext.Create(this);
}
protected FormModel(EditContext editContext) {
EditContext = editContext;
}
}