Hello,
Is there a way to call creator.onQuestionAdded
from a button click event?
Example,
const handleOnDuplicateDeleteClick = React.useCallback((): void => { creator.onQuestionAdded.add(function (sender, options) { if (!!options.question.customname) { //Please make sure it is unique options.question.name = options.question.customname; } }); }, []);
Thanks