You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
When setting errors on a form, HTML characters are escaped, which means errors messages can't have formatting:
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?The text was updated successfully, but these errors were encountered: