Check for duplicates
Description
I have a plugin which adds a sub-element into the toolbox which contains an id. When clicking on this element, getToolboxItemById returns null but throws Cannot read properties of null (reading 'isSelectable').
Reproduction steps
- Create element in toolbox which has an id (or call onClick_ on element that isn't in the toolbox)
- Error is thrown
Priority
No response
Stack trace
TypeError: Cannot read propertyies of null (reading 'isSelectable')
Screenshots
No response
Browsers
No response
Check for duplicates
Description
I have a plugin which adds a sub-element into the toolbox which contains an id. When clicking on this element,
getToolboxItemByIdreturns null but throwsCannot read properties of null (reading 'isSelectable').Reproduction steps
Priority
No response
Stack trace
Screenshots
No response
Browsers
No response