1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-09-06 16:53:11 +02:00
Files
2025-08-21 20:31:21 +02:00

18 lines
434 B
C#

using Microsoft.AspNetCore.Components.Forms;
using Phantom.Web.Components.Utils;
namespace Phantom.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;
}
}