sruti / covid19-riskfactors-app

App for practitioners showing COVID-19 risk factors for mortality, ARDS, death from ARDS
5 stars 3 forks source link

when changing tabs, all the children state should be false #37

Closed sylwiavargas closed 4 years ago

sylwiavargas commented 4 years ago

@sruti

sruti commented 4 years ago

Oh I see where this is happening. If you click on a child, unclick the parent, switch tabs, the parent is unclicked but when you click it, instead of the child having both yes and no unclicked, it's keeping whatever was there on the previous tab. Didn't get a chance to fix this yet.

sylwiavargas commented 4 years ago

I just set it up in a way that it will reset now with each tab change.

sylwiavargas commented 4 years ago

If age is unclicked then age y/n should also be false