We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In have this code
cf = ConversationalForm.startTheConversation({ options: { theme: 'green', submitCallback: submitCallback, preventAutoFocus: true, }, tags: tags, }); ref.current.appendChild(cf.el); return function unMount() { cf.remove(); }; }, []);
I would like to pass an argument to submitCallback in order to use it in the function:
function submitCallback(uniqueId) { var formData = cf.getFormData(true); cf.addRobotChatResponse("Listo!") actions.updateCompanyAction({ id: uniqueId, name: formData.name, country: formData.country, sites: formData.sites }); }
Is that possible?
Thanks!
Great library by the way...!
The text was updated successfully, but these errors were encountered:
jenssogaard
No branches or pull requests
In have this code
I would like to pass an argument to submitCallback in order to use it in the function:
Is that possible?
Thanks!
Great library by the way...!
The text was updated successfully, but these errors were encountered: