fix(communities): Naming validation for communities

Category name validation updated.

Fixes: #2297
This commit is contained in:
Sale Djenic 2021-07-01 15:53:36 +02:00 committed by Iuri Matias
parent b9ff88f41c
commit 538dcd0b86
1 changed files with 0 additions and 3 deletions

View File

@ -17,7 +17,6 @@ ModalPopup {
readonly property int maxCategoryNameLength: 30
readonly property var categoryNameValidator: Utils.Validate.NoEmpty
| Utils.Validate.TextLength
| Utils.Validate.TextLowercase
id: popup
height: 453
@ -68,8 +67,6 @@ ModalPopup {
maxLength: maxCategoryNameLength
onTextEdited: {
text = Utils.convertSpacesToDashesAndUpperToLowerCase(text);
validationError = Utils.validateAndReturnError(text,
categoryNameValidator,
qsTr("category name"),