Am trying to work on RA-995 . But according to this discussion , am expected to do my changes in angular format. Now before I was loading messages using
“${ui.message(“openmrs.demo.label”)}”
But since I moved my code to a pure .js script, I had to change to something like
Just to clarify, when you provide a call back function you have to directly use the returned translated message rather than looking it up calling emr.message(“code”) as you’re doing because it hasn’t yet been added to the translated messages map on the client side.