Currently, when a document is open in SharePoint, and you try to change or modify its properties/metadata, it doesn’t allow it and it reverts to the original value. However, this scenario is bad for the overall UX since the user doesn’t realize this issue is due to the document being opened. How can I display a message to alert the user that the document needs to be closed first?
PS. I’ve checked the console and it throws a 423 error on POST but nothing really shows up on the frontend.