- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2022 07:07 AM
Hi Team,
In portal widgets I see the ng-change is invoked only when old value is replaced by new value.
How can we invoke client functions when the value is changed to null?
I am relative beginner in portal so any clue is appreciated.
Best regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2022 07:32 AM
ng-change should respond to null as well, can you share your script
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2022 07:36 AM
Hello,
If there is a empty value also ng-change actually responds and send the empty value to client controller.
please try to alert the new value when you are trying to make it empty and the alert must come empty .
Please accept this solution if it solves your issue