Fixing listener to trigger event multiple times when the field is not included in the listener to be rebuilt. When a field is part of trigger but it doesn't get rebuilt by listener, it will keep dispatching same event over and over due to the event listener callback being an anonymous method. With this change, the callback method is changed to be a known identified method so it gets dispatched to the same element only once and would prevent unlimited http requests being made for 1 field change. (#1974)
Fixing listener to trigger event multiple times when the field is not included in the listener to be rebuilt. When a field is part of trigger but it doesn't get rebuilt by listener, it will keep dispatching same event over and over due to the event listener callback being an anonymous method. With this change, the callback method is changed to be a known identified method so it gets dispatched to the same element only once and would prevent unlimited http requests being made for 1 field change. (#1974)

Co-authored-by: m-bagheri <6a2508342f38269686d577454ab59ee6177bd621@gmail.com>
TheOrchid/Platform,TheOrchid/Platform