Nothing happens when i click on the tick box (submit)

79 views Asked by At

I've used xeditable in multiple places in my application and everything works just fine although in one particular place, nothing happens when i click on the tick box:

example screenshot

(ideally its about to trigger the onaftersave function here)

<span editable-text="label.yellowColor" e-rows="1" e-cols="5" onaftersave="updateLabelName($data)" ng-click="$event.stopPropagation()">{{label.yellowColor || '...'}}</span>

It would be great to get input on the above.

1

There are 1 answers

2
Sylordis On

Why don't you bind the text to a variable in the scope with ng-model ? This way you could display it everywhere AND access it all the more throughout your program.