Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report context not empty requirement bypassed by entering a space #3113

Open
2 tasks done
BeboKhouja opened this issue Jan 2, 2025 · 1 comment
Open
2 tasks done
Labels
bug Something isn't working web Relates to Modrinth.com web frontend

Comments

@BeboKhouja
Copy link

BeboKhouja commented Jan 2, 2025

Please confirm the following.

What browsers are you seeing the problem on?

Chrome (including Arc, Brave, Opera, Vivaldi)

Describe the bug

Normally, if you report a project, user, version, you need to specify report context in the report. However, you can bypass that by simply entering a space.
Image

Steps to reproduce

  1. Report a project, version, user
  2. Select a category
  3. Add a space to the report context
  4. Submit button not grayed out

Expected behavior

I expected that the Submit button stays grayed out if the report context is just spaces.

Additional context

No response

@BeboKhouja BeboKhouja added bug Something isn't working web Relates to Modrinth.com web frontend labels Jan 2, 2025
@Erb3
Copy link
Contributor

Erb3 commented Jan 10, 2025

This would be an easy fix, but I'm not sure if it's a bug? I believe most websites already function like this, including GitHub and Reddit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working web Relates to Modrinth.com web frontend
Development

No branches or pull requests

2 participants