Category id dropdowns in data explorer cannot be cleared

If you use a param of category_id, and then select a category for the query, there is no option to clear the selection in that dropdown.

3 лайка

Thanks @jordan-violet, it does not look super urgent, we will make sure we have a look over the next few weeks.

1 лайк

Hi, @jordan-violet!

In order to clear the selection in category_id dropdown, select (no category) option. This is a default selection now.

If any category was selected, you can reset selection by choosing (no category) option, which is listed first in the dropdown.

IMPORTANT!
If you want to allow query run without category_id provided, prepend param with null keyword. More detailed instructions are laid out in Utilizing Parameters in Data Explorer Queries.

Related code changes were done in UX: category-id-input: allows no-category selection by yuriyaran · Pull Request #377 · discourse/discourse-data-explorer · GitHub.

3 лайка

This topic was automatically closed after 3 days. New replies are no longer allowed.