Writing validation messages
Validation message expression must evaluate to String
Enter text surrounded by quotation marks to provide a static message:
You can add some dynamic content, simply by concatenating strings. Remember to use ?.
notation to prevent syntax errors when a property is null.
Use template literals for more complex use cases:
Last updated