2022-05-26 15:46:02 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
leftPadding: 0
|
|
|
|
rightPadding: 0
|
2022-08-03 00:07:27 +00:00
|
|
|
label: qsTr("Name your community")
|
2022-05-26 15:46:02 +00:00
|
|
|
charLimit: 30
|
2022-07-22 10:28:04 +00:00
|
|
|
placeholderText: qsTr("A catchy name")
|
2022-05-26 15:46:02 +00:00
|
|
|
validators: [
|
|
|
|
StatusMinLengthValidator {
|
|
|
|
minLength: 1
|
|
|
|
errorMessage: Utils.getErrorMessage(root.errors,
|
|
|
|
qsTr("community name"))
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|