2 way databinding in Aurelia custom elements - bind custom element to parent viewmodel
In my application I have made a lot of "services" which I can inject in my viewmodels to save som redundancy and time. Now I'm looking to take it 1 step further, and make those form elements (select, text, checkboxes - a select dropdown for starters) and turn them into custom elements, injecting the service in only the custom element. I can get it working to some extent. The custom element (select in this case) is showing when I require it in the "parent" view, however when I change the selected value of the custom select element, it does not bind to the "parent" viewmodel, which is my