Reporting a bug
Custom widget for image picker is not working in Internet explorer 10+
error message on console appears "Unable to set property 'imgSrc' of undefined or null reference"
Image pickers support IE9 and IE10 version, when it integrated with surveyJs, it has this problem.
Custom widget for image picker is working in Internet explorer 9 and 10
http://surveyjs.org/examples/react/custom-widget-image-picker.html
in Emulation select document mode: 10, User agent string: Internet Explorer 10
Tested page URL: http://surveyjs.org/examples/react/custom-widget-image-picker.html
@xiuzhen1103 we'll fix it in next release, thanks. It is because of dataset property which not supported by Internet Explorer 10 and lower
@dmitrykurmanov Thanks for replying me and providing solution on it, may I find out when is next release, please?
@xiuzhen1103 it should be tomorrow and as a solution we can use following code:
$(options[i]).data("imgSrc", options[i].text);
@dmitrykurmanov thanks so much for your help.
Hi Dimitry, how to update the version? @dmitrykurmanov
@xiuzhen1103 Hello! You can get last version from npm or from our cdn https://surveyjs.azureedge.net/0.12.17/survey.jquery.js
Hi Dmitry,
may I ask you how to update it in npm, please?
@xiuzhen1103, hello. You can use npm install survey-jquery or npm update survey-jquery if it already installed
Unfortunately, this issue still insist. Any idea with it, please? Unable to set property 'imgSrc' of undefined or null reference
@xiuzhen1103 do you change your code to $(options[i]).data("imgSrc", options[i].text); ? Here an our fixed example http://surveyjs.org/examples/jquery/custom-widget-image-picker/
Most helpful comment
@xiuzhen1103, hello. You can use
npm install survey-jqueryornpm update survey-jqueryif it already installed