MyBB Community Forums

Full Version: Search by Username field issues on search system start page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
https://community.mybb.com/search.php

1st: Search by Username field doesn't have a clear, i.e., 'x' function

Input something in the field "Search by Username", and then there's no way of clearing existing input. So there are further problems:
  • Refresh that page won't clear that field. Seems it's a browser behavior.
  • Click "back" from browser in a search result page, if the search had "Search by Username", it can't be cleared.
The only way to have a blank "Search by Username" field is to re-enter the search page either by Enter/Go from the address bar or click the search link.

2nd: Search by Username field doesn't allow arbitrary username, which maybe leaves unchecked "match exact username" useless

These two issues might be relating to JavaScript, IMO. A similar search function to the search system start page which does support clear function (like a x in input field) and arbitrary input is user search in member list: https://community.mybb.com/memberlist.php
Ouch, is it something new? Because it was fine in past IIRC Sad

There was a clean "X" function before for sure... I made a PR for that by myself in the past.
I am sorry, you are right! This is a valid report
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/3866

Thanks for contributing to MyBB!

Regards,
The MyBB Group