A simple payload record used by the editor document system that represents a text entry control. It sets its control type to TextEntry and defines a Placeholder string property.
using System.Text.Json.Serialization;
namespace Grains.RazorDesigner.Document;
public sealed record TextEntryPayload : Payload
{
[JsonIgnore]
public override ControlType Kind => ControlType.TextEntry;
public override string Placeholder { get; init; } = "";
}