We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This line here:
raytha/src/Raytha.Web/Areas/Public/Controllers/BaseController.cs
Line 62 in cbc1d9b
is supposed to be a dictionary:
ViewData["ValidationErrors"] = errors?.ToDictionary(k => k.PropertyName, v => v.ErrorMessage);
Otherwise you cannot conveniently access the error for the field by developer name in the liquid template, example:
{{ ViewData["ValidationErrors"]["name"] }}
The text was updated successfully, but these errors were encountered:
Fix unpublish button and validation errors #59
d029e99
Merged into dev
dev
Sorry, something went wrong.
No branches or pull requests
This line here:
raytha/src/Raytha.Web/Areas/Public/Controllers/BaseController.cs
Line 62 in cbc1d9b
is supposed to be a dictionary:
ViewData["ValidationErrors"] = errors?.ToDictionary(k => k.PropertyName, v => v.ErrorMessage);
Otherwise you cannot conveniently access the error for the field by developer name in the liquid template, example:
{{ ViewData["ValidationErrors"]["name"] }}
The text was updated successfully, but these errors were encountered: