I am facing an issue in particular case where reference of dragged widgets are overlapping.
I have an empty dashboard with button and user can add widgets by dragging this button. When user add new widget, previous widget params are also updated which should not.
Steps to reproduce:
- Open https://jsfiddle.net/xs5r6mma/2/
- Add widget by dragging “Drag Me” button
- Enter some value in input field and update
- Add another widget by dragging “Drag Me” button.
Now observer, this new widget title has the same name which u entered for 1st widget. Can you please confirm me if there is something I am doing wrong? My requirement is to add widgets by drag and drop on empty dashboard through some button.
myLayout.createDragSource($("#button"), {
type: 'component',
componentName: 'example',
componentState: {
text: 'Button'
}
});