-
Notifications
You must be signed in to change notification settings - Fork 159
Problem with Component Interpolation and V18n #241
Copy link
Copy link
Closed
Labels
Description
We have an Issue concerning the message compiler.
When trying to use v18n component interpolation with VueJs this does not work correctly due to the compile function which is returning a single string.
the function returns an [object Object] which shows us that r has elements of VNodes of Vue.
We were able to fix the problem by using the following line in the message compiler, which returns an array which we can then use.
return 'function(d) { return [' + (r.join(', ') || '""') + ']; }';
Is it possible to add a configuration which allows us to determine whether we get a string or an array back by the function?
Reactions are currently unavailable