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
{{ message }}
This repository has been archived by the owner on Aug 15, 2021. It is now read-only.
First I want to thank you for this awesome module.... I having some trouble setting up custom error messages through defaultErrorMessageResolver.
I have gone through the documentation on creating customErrorMessageResolver but I was wondering if there is a simpler way.....
I am currently using Spring which already has i18 message resolver so I do not need set the culture.
Questions:
In the document, Error Message Resolver, is there a way to pass in data from a scope or a from a service??
errorMessages['myCustomError'] = 'My custom error message'; Instead of hardcoding a string would like to pass in a variable that is retrieved from the server.
This does not work because angular.module('jcs-autoValidate').run runs before the DataService is ready. I have tried passing in $qPromise but still no luck... I still get an undefined on DataService.
First I want to thank you for this awesome module.... I having some trouble setting up custom error messages through defaultErrorMessageResolver.
I have gone through the documentation on creating customErrorMessageResolver but I was wondering if there is a simpler way.....
I am currently using Spring which already has i18 message resolver so I do not need set the culture.
Questions:
In the document, Error Message Resolver, is there a way to pass in data from a scope or a from a service??
errorMessages['myCustomError'] = 'My custom error message';
Instead of hardcoding a string would like to pass in a variable that is retrieved from the server.So for example....
Resource
Service that gets all the data needed for the page... something like this
This does not work because
angular.module('jcs-autoValidate').run
runs before the DataService is ready. I have tried passing in $qPromise but still no luck... I still get an undefined on DataService.Any insights is greatly appreciated.
The text was updated successfully, but these errors were encountered: