function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kiran Kumar 551Kiran Kumar 551 

Not allowing to update the version

Hi All,

I am currently trying to update my lightning version to 42/43, but I am getting this error while saving the lightning compoent "Invalid SecureDocument API" 

This issue is happening since I am using "document.selection.createRange()", "document.activeElement", "document.all" and "document.getSelection()" in the helper methods. Please suggest any alternative for these codes.

Thank you,
Kiran