staticSearch icon indicating copy to clipboard operation
staticSearch copied to clipboard

Should the clear button clear type-ahead fields?

Open martindholmes opened this issue 8 months ago • 1 comments

What you type in a feature-filter box is not used in the actual search itself; only boolean filters you create from that box are used. So the Clear button currently leaves those text boxes alone, clearing only the controls which provide input to the search itself. However, one of our users was recently confused by this, and thought it to be a bug. Although it's not, it might be a bit confusing, and we could elect to clear those boxes as well. The only disadvantage I can see is where the user has typed a longish string into one of those boxes and hasn't finished selecting filters based on it; but it seems unlikely that anyone would press the Clear button under those circumstances anyway, so I vote for clearing those boxes too.

This could be done separately in the dev and release-1.4 branches.

martindholmes avatar Apr 23 '25 18:04 martindholmes

In case we decide this is the right thing to do, I've created PRs for both dev and release-1.4.

martindholmes avatar Apr 28 '25 22:04 martindholmes