vitalets / angular-xeditable

Edit in place for AngularJS
http://vitalets.github.io/angular-xeditable
MIT License
1.91k stars 403 forks source link

e-inputgroup two way binding #713

Closed dementic closed 6 years ago

dementic commented 6 years ago

It seems that the inputgroups are static and will not update when binding to a value: <a editable-number="someScopeValue" e-inputgroupleft="{{ someFunctionToCalcNewValue($data) }}"> {{ someScopeValue }} </a>

ckosloski commented 6 years ago

Hi @dementic can you describe your error some more, or provide a plnkr or jsfiddle showing your issue? If I create a function that generates a random number, I see a new number in my input group every time I open it.

dementic commented 6 years ago

Every time you OPEN it, but if you need something to be calculated on the fly based on the input, it does not work. Here is a fiddle: https://jsfiddle.net/s4qva61w/8/ @ckosloski anything else?