invoke
Validates the provided text to ensure it is not empty.
Return
A ValidationResult indicating the result of the validation.
Parameters
text
The text to be validated.
name
The name or label associated with the text field for error messages.
Validates the provided text to ensure it is not empty.
A ValidationResult indicating the result of the validation.
The text to be validated.
The name or label associated with the text field for error messages.