(bug): No more than 5 hashtags on Mobile for add and edit post
Summary
Users can still post more than 5 hashtags on mobile, not matching the front-site. Note this needs to be done for edit too - else a user can bypass it altogether, just adding tags in after. Ideally an error should be shown.
Steps to reproduce
Add:
- Create a post with more than 5 hashtags
- Save it and see
Edit:
- Create a post with 5 hashtags
- Edit it
- Add another hashtag
- Save
Platform information
iOS and Android
What is the current bug behavior?
The user can have more than 5 hashtags on a post
What is the expected correct behavior?
The user should NOT be allowed to add a post with, or edit a post so that there are more than 5 hashtags, ideally an error should show to indicate why the user cannot 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 Ben