Allow disabled items to be unchecked
See original GitHub issueI have an item set as disabled: true
and checked: false
but if the item is disabled
it will always show the checkbox as checked.
const vegetableCategory = new TreeviewItem({
text: 'Vegetable', value: 2, children: [
{ text: 'Salad', value: 21 },
{ text: 'Potato', value: 22, checked: false, disabled: true }
]
});
I tried vegetableCategory.correctChecked();
but it seems to have no effect.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
If check box checked disable other, if unchecked enable all ...
My current code is failing to set disable attribute to true and false when check box is checked. If you see where is...
Read more >HTML DOM Input Checkbox disabled Property - W3Schools
Definition and Usage. The disabled property sets or returns whether a checkbox should be disabled, or not. A disabled element is unusable and...
Read more >MS Teams add in in Outlook won't enable - Microsoft Learn
At the bottom of the add-ins screen next to "Manage", click the drop-down and change to "Disabled Items" and then click Go. Click...
Read more >mat-checkbox, Angular material checkbox component Usage ...
Using disabled property of mat-checkbox we can disable angular material checkbox. <mat-checkbox disabled>Checkbox Disabled</mat-checkbox> ...
Read more >EndNote: CWYW tools are disabled and missing in Word ...
Change the "Manage" options to "Disabled Items." Click Go. Highlight any EndNote item(s) ... Click on Customize Ribbon and Check EndNote if it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@leovo2708 Keep disabled item unchanged and place (!) icon with hover message for the same
@jackjamieson I have a problem if checking on All checkbox, but one item is disabled & unchecked, How should I handle it? Revert All checkbox to unchecked or keep?