Let’s have component with
OneWayCheckboxComponent.reopenClass({
positionalParams: ['paramChecked']
});
and template:
{{fc.control (one-way-select/contains (get object propertyName) option)
disabled=disabled
dir=dir
lang=lang
value=option
}}
There are no syntactic errors, object.propertyName is Ember.A(["second"])
. The output in the paramChecked is the array itself. Okay, this looks like the bug in our code but the strange thing is that when we remove positionalParams
and use named one paramChecked = ( ... )
it works as expected and function returns true/false.
Is there a difference in resolving between named and positional parameters?