pfitzpaddy / ngm-reportDesk

The workdesk for ReportHub
1 stars 6 forks source link

Bug in the 'details' feature on the Monthly Reporting form #311

Closed dondippino closed 4 years ago

dondippino commented 4 years ago

There seems to be a little bug with the 'details' feature on the Monthly Reporting page when there are multiple locations. When 'details' dropdown is selected for a location, it clears the selected item in the previous location (if any) and instead switches the select options to the most recent selection. I have tried to resolve it, but I need other persons' perspective in resolving this. I have attached a GIF to simulate the scenario perfectly for your comprehension.

pfitzpaddy commented 4 years ago

details_bug_reporthub

drfaustusfade commented 4 years ago

https://github.com/pfitzpaddy/ngm-reportHub/pull/328 Proposal: 1 using materialize-select watch 2 initDetails run only on current beneficiaries 3 selects would update on each select change

Please check and test