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
Passing named arguments to a filter no longer works, arguments are given but they are all undefined.
It was previously working in version 4.0.0 and I have since upgraded to 7.4.0.
Example:
engine.registerFilter('t', function () {
console.log(arguments);
})
In the v4.0.0 {{ 'filter.arg.test.3' | t: arg1: 'foo', arg2: 'bar', arg3: 'baz' }} would return the key and value for each argument as seperate arguments. This was fine, I just looped through them and paired them back up. But I wonder if it would be more helpful to return each of them as an object?
The text was updated successfully, but these errors were encountered:
Passing named arguments to a filter no longer works, arguments are given but they are all undefined.
It was previously working in version 4.0.0 and I have since upgraded to 7.4.0.
Example:
In the v4.0.0
{{ 'filter.arg.test.3' | t: arg1: 'foo', arg2: 'bar', arg3: 'baz' }}
would return the key and value for each argument as seperate arguments. This was fine, I just looped through them and paired them back up. But I wonder if it would be more helpful to return each of them as an object?The text was updated successfully, but these errors were encountered: