1st Problem: $("select").data('picker').selected_values(); always returning selection of first tab, ignoring other active tab content.
2nd Problem: I am trying to adjust image picker with tab click and make image picker pick from selected tab. But I am failing and also getting error Uncaught TypeError: Cannot read property 'sync_picker_with_select' of undefined and Uncaught TypeError: Cannot read property 'destroy' of undefined
Here's the html
Here's the js:
1st Problem: $("select").data('picker').selected_values(); always returning selection of first tab, ignoring other active tab content. 2nd Problem: I am trying to adjust image picker with tab click and make image picker pick from selected tab. But I am failing and also getting error Uncaught TypeError: Cannot read property 'sync_picker_with_select' of undefined and Uncaught TypeError: Cannot read property 'destroy' of undefined
Any Help?