angular-xeditable icon indicating copy to clipboard operation
angular-xeditable copied to clipboard

How to be notified when user selects from an editableSelect (before Save is clicked)

Open dlwhiteman opened this issue 9 years ago • 4 comments

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?

dlwhiteman avatar Jun 25 '15 21:06 dlwhiteman

I had to create a custom directive that wrapped a

dlwhiteman avatar Jul 20 '15 19:07 dlwhiteman

@dlwhiteman can you share your sample code ?

adisembiring avatar Jul 28 '15 12:07 adisembiring

Can you share you directive?

ckosloski avatar Nov 09 '16 18:11 ckosloski

@dlwhiteman can you share you code?

ckosloski avatar Mar 03 '17 15:03 ckosloski