-
-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
When setting errors on a form, HTML characters are escaped, which means errors messages can't have formatting:
@b4.textarea(
input.form("myTestArea"),
Symbol("rows") -> 8,
Symbol("_error") -> "I am an error message with <strong>HTML tags</strong>!")The accepted types for _error don't include an Html object, so wrapping this in @Html() isn't legal.
Is there a workaround in order to add HTML tags to error messages and/or would it be possible to add Html as a valid input type to _error special args?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
