Property Validate
Optional validation predicate — runs synchronously before OnSave is
dispatched. Return null to accept, or an error string to reject (the
input stays open with no save attempt).
[Parameter]
public Func<string, string?>? Validate { get; set; }