Allow documentation help links to be included in model validation errors
Why are we doing this work
Sometimes, we may want to include documentation links in model validation errors in order to give users more information about why the error is occurring and what actions they should take (example. Currently, we cannot do this because error messages are HTML escaped
We should consider extending FormHelper to be able to add documentation links. The link information could be passed as ActiveModel::Error options.
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing: