angular-xeditable
angular-xeditable copied to clipboard
How to be notified when user selects from an editableSelect (before Save is clicked)
I am using angular xeditable in "whole form" editing mode. I have an editableSelect that has a set of predefined values, and at the bottom it has a value "Custom...". What I would like to do is cause a function to be called in my controller when the user has changed the value of the select element, so I can prompt for the custom value. My workaround for now is undesirable, because the earliest point I know of that I can get notified after a change is onbeforesave, and if I have a table with 12 rows in it and all of them have Custom... selected, I don't want 12 dialogs popping up. Does my question and request make sense?
I had to create a custom directive that wrapped a
@dlwhiteman can you share your sample code ?
Can you share you directive?
@dlwhiteman can you share you code?