2024-10-08 20:22:22 +00:00
import QtQuick 2.15
2022-05-26 15:46:02 +00:00
import utils 1.0
import StatusQ . Core 0.1
import StatusQ . Controls 0.1
import StatusQ . Controls . Validators 0.1
StatusInput {
id: root
2023-06-29 21:52:16 +00:00
label: qsTr ( "Dialog for new members" )
2022-05-26 15:46:02 +00:00
charLimit: 1400
2022-07-29 08:00:37 +00:00
multiline: true
2022-05-26 15:46:02 +00:00
2022-07-29 08:00:37 +00:00
placeholderText: qsTr ( "What new members will read before joining (eg. community rules, welcome message, etc.). Members will need to tick a check box agreeing to these rules before they are allowed to join your community." )
2022-05-26 15:46:02 +00:00
input.placeholder.wrapMode: Text . WordWrap
input.verticalAlignment: TextEdit . AlignTop
validators: [
StatusMinLengthValidator {
minLength: 1
errorMessage: Utils . getErrorMessage ( root . errors ,
qsTr ( "community intro message" ) )
}
]
}