fix(Input): Change `TextEdit` to `StatusBaseText` in `Input.qml`

Closes: #5188
This commit is contained in:
Boris Melnik 2022-03-28 14:27:46 +03:00 committed by Iuri Matias
parent 17cdb1bb91
commit a5cfa7dfa7
1 changed files with 2 additions and 3 deletions

View File

@ -3,6 +3,7 @@ import QtQuick.Controls 2.13
import StatusQ.Controls 0.1
import StatusQ.Popups 0.1
import StatusQ.Core 0.1
import utils 1.0
@ -193,15 +194,13 @@ Item {
}
}
TextEdit {
StatusBaseText {
visible: !!validationError
id: validationErrorText
text: validationError
anchors.top: inputField.bottom
anchors.topMargin: validationErrorTopMargin
anchors.right: inputField.right
selectByMouse: true
readOnly: true
font.pixelSize: 12
height: 16
color: validationErrorColor