Question
[BUG] PDF Embed API: Cannot update FreeText comment when "enableAnnotationAPIs: true"
FreeText comments cannot be updated when we pass:
enableAnnotationAPIs: true
to the viewer config object
The following error is shown:
act-dom.production.min.js:189 TypeError: Cannot read properties of undefined (reading 'color')
at FreeTextCommentView.initializeValues (FreeTextCommentView.jsx:187:72)
at FreeTextCommentView.render (FreeTextCommentView.jsx:754:10)
at Object.allowStateChanges (mobx.module.js:969:15)
at index.module.js:780:33
at Zt (mobx.module.js:3120:20)
at e.track (mobx.module.js:3330:22)
at FreeTextCommentView.l [as render] (index.module.js:775:22)
at kj (react-dom.production.min.js:204:189)
at ij (react-dom.production.min.js:203:149)
at Lo (react-dom.production.min.js:292:172)
M
