mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
Merge pull request #1539 from andreiaugustin/patch-1
acroform error message update
This commit is contained in:
commit
9e5dfcdc0a
@ -181,7 +181,7 @@ export default {
|
||||
_fieldDict(name, type, options = {}) {
|
||||
if (!this._acroform) {
|
||||
throw new Error(
|
||||
'Call document.initForms() method before adding form elements to document'
|
||||
'Call document.initForm() method before adding form elements to document'
|
||||
);
|
||||
}
|
||||
let opts = Object.assign({}, options);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user