When deleting multiple elements, the selction changed event causes trouble

Created on 4 July 2025, 10 days ago

Problem/Motivation

When selecting multiple elements that all have assigned templates, and then deleting them, the selection changes all the time until the last element is being deleted. Now, if only one is left, our selection change event handler wants to load the config form and change the ID, but that fails because by the time the element may have been deleted.

Proposed resolution

During deletion, turn off selection changed event handler.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024