USGS-WiM / stnweb2

Other
0 stars 0 forks source link

Event Filter Selection #406

Closed chaqazarad closed 2 years ago

chaqazarad commented 2 years ago

Some wonky issues with the event filters.

Abigail770 commented 2 years ago

Since the event/state dropdowns are filtered according to what the user is typing, the dropdowns are only populated with all options when no options are selected/typed in. To get the full list of options, the user has to actually backspace/delete the existing text. For example:

  1. Filter by State: Wisconsin, Event Name: Wisconsin July 2016 (or any state/event name)
  2. Click Filter Sites
  3. Click in the State filter as if to type, and delete/backspace text
  4. Dropdown should be populated with all state options

We can change this functionality (maybe only have a dropdown, no typing/filtering) if that's what most users would expect.

chaqazarad commented 2 years ago

I think it makes more sense once you understand that you need to delete/backspace text. I think if we just added a clear "x" the state and event filters it would solve the problem. See: https://designsystem.digital.gov/components/combo-box/

Abigail770 commented 2 years ago

Good idea, I like this solution! I'll add a clear "x" button