robdodson / angular-custom-elements

Polymer directive to hold all yr bindings together
23 stars 4 forks source link

bind-value-to with custom elements v.1 #23

Open sandor opened 7 years ago

sandor commented 7 years ago

Hey Guys, I am using AngularJS v.1.6.6 with a UI Widget kit called XEL (using custom elements v.1):

https://xel-toolkit.org/

The XEL widget toolkit is very cool and absolutely perfect for the electron based application I am working on (to be honest: the most promising and coolest I have found). For some reasons, I can not move to Angular 2 or above. Unfortunately the very skilled developer of the xel-toolkit has absolutely no AngularJS knowledge. On my side, I am more a designer than a coder, so I have no deep knowledge of Angular JS so that I could help the developer.

So I was hoping that your angular-custom-elements would solve my dilemma of using custom elements with AngularJS 1. Some of the XEL elements are working fine with AngJS, but some are not. For example (code compared with regular HTML elements, so that I am sure that the functions itself are OK):

Working: <input type="checkbox" ng-true-value="right" ng-false-value="right" bind-value-to="originX"> Not working: <x-checkbox ng-true-value="right" bind-value-to="originX" ce-interpolated></x-checkbox> OR

Working: <input type="radio" name="origin-x" value="right" bind-value-to="originX"> Not working: <x-radio value="right" bind-value-to="originX" ce-interpolated></x-radio>

Most of the other components are working fine (even the complex ones like ) but this two important controls are simply not working. With or without angular-custom-elements...

I know that this is more a StackOverflow type of question, so sorry for this... But help is HIGHLY appreciated....

robdodson commented 7 years ago

I don't think I know enough about Angular or XEL to discern what part of the above isn't working.

sandor commented 7 years ago

Thanks anyhow Rob!