Open jhonnymichel opened 6 years ago
Right now it is not possible to bind to objects using bracket notation. that means we cannot access keys via other properties' values.
I.E.: if our viewModel look like this:
$viewModel: { selected: 2, items: ['orange', 'apple', 'grapes'] }
we cannot do this in the template:
<p xexeu-bind="items[selected]"></p>
Something else related to this issue: directives should receive a list of hooks since it can be dependant of one or more property
Right now it is not possible to bind to objects using bracket notation. that means we cannot access keys via other properties' values.
I.E.: if our viewModel look like this:
we cannot do this in the template:
<p xexeu-bind="items[selected]"></p>