mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 22:36:24 +00:00
51eefad5e5
issue: #5746
31 lines
689 B
QML
31 lines
689 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
|
|
|
|
leftPadding: 0
|
|
rightPadding: 0
|
|
label: qsTr("Description")
|
|
charLimit: 140
|
|
|
|
input.placeholderText: qsTr("What your community is about")
|
|
input.multiline: true
|
|
input.implicitHeight: 88
|
|
|
|
validators: [
|
|
StatusMinLengthValidator {
|
|
minLength: 1
|
|
errorMessage: Utils.getErrorMessage(root.errors,
|
|
qsTr("community description"))
|
|
}
|
|
]
|
|
validationMode: StatusInput.ValidationMode.Always
|
|
}
|