formBuilder
formBuilder copied to clipboard
how to solve error fb.actions.setLang is not a function
Description:
I want to use setLang Api Method but it does not work. what can I do?
Environment Details:
- formBuilder Version:
- Browser: Chrome
- OS:
Expected Behavior
Change language of plugin
Actual Behavior
Steps to Reproduce
Screenshot - *(optional)
*
Could you post a fiddle to reproduce
This can only occur when the formbuilder instance is not initialised completely. If you are initialising multiple forms or are calling actions.setLang right after initialisation then you need to use the promise interface to ensure initialisation is complete.
Please reopen with a reproduction if this still occurs.