#4029 Submit issue filter by enter key
Closed: Fixed 5 years ago by pingou. Opened 5 years ago by lsedlar.

When I want to filter issues by author, I write the nick and immediately hit enter. The exact same unfiltered page is returned.

I'm not sure if the ajax request has something to do with this. It seems to me that if I submit the filter by clicking the button before the ajax finishes, the filter is also not applied.


Metadata Update from @pingou:
- Issue tagged with: JS, UI, bug

5 years ago

Metadata Update from @pingou:
- Issue set to the milestone: 5.3

5 years ago

Metadata Update from @ryanlerch:
- Issue assigned to ryanlerch

5 years ago

i think the easiest fix here is to set the selectize element to allow freeform (i.e. user typed in) strings. Currently, this element requires that you choose an item from the ajax request, but pressing enter submits the whole form, and since you havent selected an item, it doesnt submit anything.

We can turn this off, so you can either type in a username, or select one from the list. Of course, if you type a username that is not in the db, it will return nothing.

IIRC, it was this way because that was similar to how we did it brefore the new UI, but i think this new approch makes more sense with the new UI

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #4171 Merged 5 years ago