[Ticket cloned from T1557: Getting data of current page on press of next or previous]
Thanks ,
I need to manipulate the markup of the **custom widget ** if view mode is display .
Currently i'm doing this :-
JavaScriptsurveyModel.onAfterRenderQuestion.add((survey, options) => {
if(options.question.customWidget!=null){
console.log("disable input box here")
}
})
Is this the correct method to call in order manipulate the markup ?
Could you tell us - what exact widgets don't support
display
mode and we'll fix it in thesurveyjs/widgets
repository.Thanks, Serge
SurveyJS Team