On initial load checkboxes are not respecting intermediate or checked values of parent
pranav9956 opened this issue · 3 comments
pranav9956 commented
Suppose i have a array of nodes out of which some are checked and some are not.
On loading correct nodes are marked checked, but their parent nodes are meither checked nor they have intermediate state.
If i manually click on checkbox then it is fine but if :nodes data itself has some chcked state on some nodes it does not automatically maintain state of its parent.
For Example nodes look like this
->A
-> B
-> C
And by default B is has {state: {checked: true}}. Then on rendering A is not having intermediate state.
N00ts commented
Hey, can you provide a codesandbox ?
Deleted user commented
Deleted user commented
Hi @N00ts :) did u got chance to look into it?