ethankale / Sedna

Water database. Evolution of King County's GData.
0 stars 0 forks source link

Selecting a water year without changing the value doesn't filter the data #113

Closed ethankale closed 3 years ago

ethankale commented 3 years ago

When you select a water year from the dropdown in the Data page, if you select the same water year that was already selected, it doesn't filter the data to match that water year. That makes it more difficult to create water year reports.

ethankale commented 3 years ago

This turns out to be much harder than expected, because select elements aren't expected to be used that way. In the select library I'm using (vue-select) there doesn't seem to be a click event. Alternative approach - instead of deactivating the annual report button, maybe have it automatically select the correct dates for the selected water year? Then only deactivate it if there is no water year selected at all.