vitalets / angular-xeditable

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

Add function to Popover #671

Open SebastianCBA opened 7 years ago

SebastianCBA commented 7 years ago

I recently applied http://ryanlanciaux.com/blog/2013/10/16/fake-popovers-for-angular-xeditable/, but I need to be able to add the function to the popup onbeforesave event to form to save the new value in the DB when the submit button (glyphicon glyphicon-ok) is pressed.

Can you help me? Thanks in advance.

ckosloski commented 7 years ago

That link is already applied in xeditable here You should be able to just add onbeforesave to the definition of your editable element.