-
-
Notifications
You must be signed in to change notification settings - Fork 730
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow you to add spaces to role descriptions (#8475)
This fixes a bug where we didn't allow spaces in role descriptions. The bug came about because we wanted to disallow empty descriptions, but that means we need to trim them before validating, not necessarily before setting it. However, that does mean that you can have descriptions with leading and trailing spaces now, but that's probably fine. To fix this, we'd have to do the trimming of the description only at submission time, I think.
- Loading branch information
1 parent
9f0c438
commit 88f396f
Showing
2 changed files
with
3 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters