Expose the text widget's maximum length.

This commit is contained in:
Simon Cornelius P. Umacob 2016-06-29 17:04:33 +08:00
parent e908b71309
commit d872fc90b9

View File

@ -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, {