FairPlaySocial
FairPlaySocial copied to clipboard
Post Text Hashtags validation is causing an exception
The "CreatePostModel" hashtags validation on the Text property is throwing an exception. To solve the issue do the following In the CreatePostModel class, in the Text propert, remove this line
- ErrorMessage = "Text cannot contain HashTags"
For the ProhibitUrls, remove this line ErrorMessage = "Text cannot contain Urls"
Additionally, go to the CreatePostModelLocalizer.TextProhibitUrlsTextKey and change the default Resource Key value to "Text cannot have urls", it currently says hashtags instead of urls