Issue when deleting a line in a listview that contains the Bootstrap Multi-Select widget

1
We have a listview that contains this widget. When it is deleted, we get the following error: "Cannot read property 'getGuid' of null TypeError: Cannot read property 'getGuid' of null". Despite this, the delete action completes as expected. It there a way to properly handle this error? Thank you.
asked
1 answers
3

In most case the widget needs to do extra checking before calling a method. This looks like

 

obj.getGuid();

Change this into

if (obj) {
   obj.getGuid();
}

This requires knowledge how to adapt widgets.

answered