You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: