Router should allow multiple data-view for the same route
Hello,
I ran into an issue working on the needle projet.
I have this sort of configuration
┌──────────────┬────────────┐
│ Menu │ │
├──────────────┤ │
│ │ │
│ │ │
│ Panel 1 │ Panel 2 │
│ │ │
│ │ │
│ │ │
└──────────────┴────────────┘
The two panels contains widgets whitch depends on the link used on the menu.
The easiest way to to it should be to have a widget on each panel with a data-view attribute to chose the right one
The workarround i used is to use the data-view attribute only on panel1 and a custom element on panel 2, binded with the 'navigate' attribute from the router. But it should be cleaner to simply allow multiple data-view for the same route.