diff --git a/src/core/annotation.js b/src/core/annotation.js index 8d7964ed1..38ca66a66 100644 --- a/src/core/annotation.js +++ b/src/core/annotation.js @@ -659,6 +659,7 @@ var TextWidgetAnnotation = (function TextWidgetAnnotationClosure() { WidgetAnnotation.call(this, params); this.data.textAlignment = Util.getInheritableProperty(params.dict, 'Q'); + this.data.maxLen = Util.getInheritableProperty(params.dict, 'MaxLen'); } Util.inherit(TextWidgetAnnotation, WidgetAnnotation, {