I have a checkbox that is dynamically updated based on user selections, and it is crucial to show the checked status to the user. However, I also want it to be restricted in terms of functionality while still indicating its checked state visually.
One option is to disable the checkbox, which greys it out and provides a visual cue to the user. However, this approach does not save the value upon submission.
On the other hand, setting the checkbox to read-only disables it functionally but maintains the appearance of a normal checkbox.
I am looking for a solution that combines both approaches - a checkbox that saves its value, looks disabled, and displays its check status accurately. Any ideas or suggestions would be greatly appreciated!