Closed aalavandhaann closed 5 years ago
Hi @aalavandhaann I assume this is a jQuery issue, probably the internal jQuery representation of the element and the html are out of sync. Did you try changing the select options using jquery first?
The pull request https://github.com/rvera/image-picker/pull/103 resolves this issue. It still needs some work though
@Humni let me know if you have time to look at this again. I've been swamped with work lately so I've slacked on this.
@rvera Likewise! I've put it on my todo list and will likely get to it sometime over the next 2 weeks
I really like your jquery component. But the problem is when I try adding the option tag dynamically to the select tag using jquery then there are not images loaded. What could be the problem here? I am iterating through a for loop creating the html tags dynamically and appending it to the select element. And then I call the $('select').imagepicker(). This approach is not showing the images at all. If I try to add the images inside the html hard-coded then it works as expected. Any ideas on how to resolve this?
Regards,
0K