Created
February 12, 2021 20:49
-
-
Save bjoerntx/b180d1b159692f9d44c51e2da5756ec2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TXTextControl.formFields.getCanAdd(canAdd => { | |
if (canAdd) { | |
// Add form field | |
TXTextControl.formFields.addTextFormField(emptyWidth); | |
} else { | |
console.log("error"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment