@marxsk wrote:
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 removepositionalParams
and use named oneparamChecked = ( ... )
it works as expected and function returns true/false.Is there a difference in resolving between named and positional parameters?
Posts: 1
Participants: 1