tasvideos
tasvideos copied to clipboard
AddEditPoll poll option value error message
While problems with Question gets a nice message as The field Question must be a string with a minimum length of 8 and a maximum length of 200. , there is only "Invalid options value" for poll options.
Example problem:
- The field has a ~256~ (edit: 250 ) https://github.com/TASVideos/tasvideos/blob/3cb375c178bbf4eb6a8cae28de69c7e50c95cb1f/TASVideos/Pages/Forum/Topics/Models/PollCreateModel.cs#L27 max size. Entering a longer option will be saved for the client in that field, without informing them about the input size problem.
- (edit) Only 1 option. You need at least two options but there is no information about this.