Problem description: It is not possible to change widget type in the widget configuration form after changing Source type to "Map navigation tree" of a Map widget. The following JS error is observed in the console:
Steps to reproduce:
- Create a new dashboard
- Click on the "Add widget" placeholder (or button)
- In the opened widget configuration form select Type = "Map"
- Set Source type to "Map navigation tree"
- Attempt to change value of field "Type"
Result: Widget configuration form is not reloaded, JS error appears in the console.
Expected: No error should be observed, widget configuration form should be reloaded, new set of parameters should be available for the selected widget type.