I want to change the default message for typemismatch.java.math.BigDecimal
in i18 message properties file for different properties.
In the documentation it says, use typeMismatch.$className.$propertyName
to customize but that does not work for me.
Did anyone come across this issue. Any help is appreciated.
For a property
foo
:typeMismatch.foo=Custom message
Or more specific, for a property foo in a form:
typeMismatch.formName.foo=Custom message