Closed (fixed)
Project:
SearchStax Studio – Site Search
Version:
1.x-dev
Component:
General code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2026 at 16:13 UTC
Updated:
20 Jun 2026 at 14:25 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #3
drunken monkeyThanks for reporting this problem!
You’re of course correct, this behavior is annoying and doesn’t make any sense. We should just be able to set those two fields to non-required and let the login form (if “Continue” is clicked) complain about wrong login if any fields are left empty.
Implemented in this MR, please give it a try!
Comment #5
danflanagan8Would it makes sense to add a new argument to
ApiLoginFormTrait::showLogInForm()to allow setting the username and password as not required?Not sure how often this pattern would be used, but it might be more elegant than following that call with the foreach block.
Either way this looks like it should work. Nice job throwing in the test coverage.
Comment #6
drunken monkey@danflanagan8 #5: Good suggestion, thanks. After a bit of consideration, given that this is currently used only once I think I’ll leave the code as-is, though. We can always change this later if it occurs a second time. The code right now might not be the most elegant, but it’s concise enough.
Could you give the MR a try to see if it really works for you? Then I could merge this, making it part of the next release (probably next week).
Comment #7
danflanagan8I applied the change in the MR to my local and it fixed the problem.
The Searchstax fields are no longer required and I can submit my other changes to the form.
Thanks for the fix, @drunken monkey
Comment #9
drunken monkeyGreat to hear, thanks for testing!
Merged.
Thanks again!