onGetQuestionTitleActions event is raising only for the first load of Survey. I want to raise this event again as the current requirement is to raise this event again on updating some question titles based on the specific text of the title.
JavaScriptconst onGetQuestionTitleActions = (_, opt) => {
if (opt.question?.title?.indexOf(matchingText) >= 0) {
opt.titleActions = [
{
title: 'More Info',
innerCss: 'btn-more-info-class',
action: () => {
showDescription(opt.question);
}
}
];
}
};