Merge pull request #7453 from simoncpu/master
Expose the text widget's maximum length.
This commit is contained in:
		
						commit
						b6826a46a8
					
				@ -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, {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user