Merge pull request #1539 from andreiaugustin/patch-1

acroform error message update
This commit is contained in:
Libor M. 2024-07-16 17:56:59 +02:00 committed by GitHub
commit 9e5dfcdc0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);