This file contains hidden or 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
insertCheckboxFormField(pageRect, pageNo, type) { | |
let instance = this.PSPDF; | |
async function createNewFormField(instance) { | |
try { | |
const formFieldName = type + "_formfield"; | |
const newFormFieldName = `${formFieldName}_${Math.random() | |
.toString(36) | |
.replace(/[^a-z]+/g, "")}`; |