Ability to use checkboxes in read only mode

Hi Team,


I am currently playing with a document template from word. The idea is to set the document to read only and then have certain areas be exceptions to allow the users to edit without restriction. Mainly for the ability to be able to add images without restrictions and allow the template to expand as needed. That all works great but I cannot seem to find a way to get checkboxes to work in read only mode.

I can see they work in form fill mode, however form fill mode stops the ability of multiple image attachment and editing. Is there a way to make the checkboxes work when the document is in read only mode?

Thanks.


4 Replies

DS Dhanush Sekar Syncfusion Team December 24, 2024 11:11 AM UTC

Hi Braden,


The checkbox is functional only in form-filling mode. Instead of a checkbox form field, you may use a content control checkbox.


At present, we are experiencing problems with the content control checkbox and have reported this as a bug. Please see the details below.


We have confirmed the reported issue "Checkbox is not editable under restricted editing" as a defect and logged a defect report. We will fix this issue in our upcoming weekly patch release which is scheduled to release on January 7, 2025 weekly patch release.

 

You can track the status of the bug through the feedback link below:

https://www.syncfusion.com/feedback/64055/checkbox-is-not-editable-under-restricted-editing


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”


Regards,

Dhanush S



SI Suresh Iyappan Syncfusion Team January 15, 2025 12:34 PM UTC

Hi Braden,

We are glad to announce that our patch release (v28.1.39) has been rolled out successfully. In this ‎release, we have added the fix for the issue 'Checkbox is not editable under restricted editing' .
 

Please upgrade to the latest version packages to resolve this issue:‎

 

NPM link:

https://www.npmjs.com/package/@syncfusion/ej2-documenteditor

 

NuGet links:‎

https://www.nuget.org/packages/Syncfusion.Ej2.Wordeditor.ASPNet.Core/

https://www.nuget.org/packages/Syncfusion.Ej2.Wordeditor.ASPNet.MVC5/

 

Feedback link:

https://www.syncfusion.com/feedback/64055/checkbox-content-control-is-not-editable-under-restricted-editing

 

Please let us know if you need any further assistance.

 

Root cause:

In onMouseUpInternal method we have used to call the performed the toggle action of ContentControl CheckBox only when the document is unrestricted and we have not considered when the document is protected and the checkbox is in edit region.


Regards,
Suresh I



BK Braden Kayne January 16, 2025 11:53 PM UTC

Hi Suresh,


Thank you for getting back to me regarding this issue. I can see that this issue has indeed been resolved on the example page. https://www.syncfusion.com/javascript-ui-controls/js-word-processor

However, even after updating to the new version I am not able to access this fix. I went back to again copy the example code to try and access this feature but still no luck.


Would you please be able to provide the javascript used to create the document editor found on 
https://www.syncfusion.com/javascript-ui-controls/js-word-processor

Thanks so much for your effort and time.


Thanks,

Braden



KM Kavitha Muralitharan Syncfusion Team January 20, 2025 06:37 AM UTC

Hi Barden,


We have checked the latest version includes the fix, and there are no issues. You may refer to this StackBlitz example and the accompanying documentation for verification.

Sample: https://ui4k64jr.stackblitz.io/


Regards,

Kavitha M



Attachment: syncfusion_checkbox_restricted_editing_1_ff182935.docx

Loader.
Up arrow icon