Improved GUI options list for InputField
The InputField
component can be used to show a list of options that is gathered through aggregations. The user can select values here and the selected values are indicated with a checkbox and a different color.
When the user goes on to select other filters, or presses "show less", the selected value may not be shown in the list anymore, because we only show top X using aggregations. We should decide if we wish to always persist the selected values in this list (they are anyways shown in the chips). Preserving them at the top AND having statistics for them may not be trivial because the aggregation request may need to change.