Skip to content

(bug): Users are able to add more than 5 hashtags to a post by adding them manually.

Summary

Users are able to add more than 5 hashtags to a post by adding them manually.

Steps to reproduce

  1. Visit your channel.
  2. Upload an image in the create post box.
  3. Click the hashtags button.
  4. Add 5 hashtags.
  5. Click on the post description input field.
  6. Add a 6th hashtag manually.

Platform information

(Browser, device, system stats, screen size)

Firefox/Win10

No error message is displayed and the user is able to create a post with 6 or more hashtags. This can also be done when editing a post.

What is the expected correct behavior?

The error message should be displayed whenever it detects more than 5 hashtags in the description input field and the user should not be able to create the post. The same thing should happen when editing a post.

Relevant logs and/or screenshots

(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Edited by Jake Passi