@inherits DComponentBase @* daisyUI Validator: https://daisyui.com/components/validator/ . Place it right after a field with Validator set (a following sibling): it shows, in the error color, while that field is :user-invalid or aria-invalid (failed EditForm validation). *@

@ChildContent

@code { [Parameter] public RenderFragment ChildContent { get; set; } /// Takes no space while the field is valid (daisyUI's validator-hint hidden) instead of keeping its line. [Parameter] public bool Compact { get; set; } }