Cannot read properties of undefined (reading 'length')' Error on adding annotation on pdf
Hi,
I'm getting the following errors :
'Uncaught TypeError: Cannot read properties of undefined (reading 'length')'
Steps to reprodue :
- on the embedded pdf viewer open the pdf and select a portion of text
- on mouse hover over the selected text, console prints the above message
On further investigating, this is happening when _validateMinLength(propertyName, obj, minLength) in AnnotationValidatoeUtil.js file is trying to valide the minimum lenght of the object.source which is comming as undefined
Any suggestion, how to solve this ?
Thanks
Siddharth
