Single Selection in Form Design Mode

When I call controller.setDesignMode(true), is it possible to restrict users to select only a single element? Currently, by the default, it allows multiple elements to be selected.

In your onSelect method, you can check the length of the event.data array.
If it is bigger than 1, you should return false.

This is helpful, thanks!