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

The body error message from proposal creation form is not displayed according to the text inside the field #12714

Open
vsperiatu opened this issue Apr 23, 2024 · 0 comments

Comments

@vsperiatu
Copy link

Describe the bug

When creating a proposal, the error message from the body input is not displayed according to the text inside the field. Also, this is happening only when rich text editor is activated.

To Reproduce

  1. Log in as admin and activate the rich text editor (Organization settings -> Enable rich text editor for participants)
  2. Visit the main site
  3. Create a proposal
  4. Complete the title input with valid text
  5. Complete the body input with some text that is not starting with capital letter
  6. Click on save
  7. Delete the text from the body
  8. Click on save again

Expected behavior

The error message should be displayed according to the text inside the input.

E.g. In this case, the text should be something like 'cannot be blank' instead of 'is using too many capital letters...' because the input box is empty

Screenshots

save_proposal_body_error.mp4

Stacktrace

No response

Extra data

Tested on nightly

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants