mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-09 21:24:04 +00:00
- Removed redundant `community` word in some files from: `controls`, `views`, `popups`, `helpers ` and `panels` folders. - Updated storybook. - Updated squish files. Closes #6204
29 lines
735 B
QML
29 lines
735 B
QML
import QtQuick 2.14
|
|
|
|
import utils 1.0
|
|
|
|
import StatusQ.Core 0.1
|
|
import StatusQ.Core.Theme 0.1
|
|
import StatusQ.Controls 0.1
|
|
import StatusQ.Controls.Validators 0.1
|
|
|
|
StatusInput {
|
|
id: root
|
|
|
|
label: qsTr("Name your community")
|
|
charLimit: 30
|
|
placeholderText: qsTr("A catchy name")
|
|
|
|
validators: [
|
|
StatusMinLengthValidator {
|
|
minLength: 1
|
|
errorMessage: Utils.getErrorMessage(root.errors,
|
|
qsTr("community name"))
|
|
},
|
|
StatusRegularExpressionValidator {
|
|
regularExpression: Constants.regularExpressions.alphanumericalExpanded
|
|
errorMessage: Constants.errorMessages.alphanumericalExpandedRegExp
|
|
}
|
|
]
|
|
}
|