title | issue |
---|---|
Fix the render error message |
NEXT-28630 |
- Changed
src/core/data/error-resolver.data.js
to convert the error object toShopwareError
if it is not an instance ofShopwareError
. - Changed
src/app/component/form/field-base/sw-field-error/index.js
by adding new methodformatParameters
to remove double brackets from the error parameter key. - Changed
src/app/component/form/field-base/sw-field-error/index.js
by changing computed fielderrorMessage
to call methodformatParameters
to reformat the error parameter keys.