I will need to check the code tomorrow again for that but I am thinking that is most likely a typo I did when writing down here since I deleted a lot of irrelevant stuff to make the code smaller. However, if it turned out to be the reason, I would be very happy. Way easier to fix after all
The docs shows imports from aurelia-framework, so that is what I started with. I even explicitly used the bindable’s callback attribute to specify the onchange handler. None worked. I changed the imports to aurelia package, tried upgrading the version etc. but none worked. Now, I basically copy/pasted my own code in the OP, fixed the typo, restarted webpack, and it worked.
Odd. I guess if initially I started with aurelia, instead of aurelia-framework like examples in docs, I would not have this issue. Can we update these examples? Or can I somehow contribute to updating these?