limited client name length

This commit is contained in:
vladimir.kuznetsov 2023-11-27 13:42:08 +07:00
parent 3084892ed8
commit 2d22b52b5d

View file

@ -529,7 +529,7 @@ PageType {
id: clientInfoDrawer id: clientInfoDrawer
width: root.width width: root.width
height: root.height * 0.45 height: root.height * 0.5
ColumnLayout { ColumnLayout {
anchors.top: parent.top anchors.top: parent.top
@ -591,6 +591,7 @@ PageType {
Layout.fillWidth: true Layout.fillWidth: true
headerText: qsTr("Client name") headerText: qsTr("Client name")
textFieldText: clientName textFieldText: clientName
textField.maximumLength: 30
} }
BasicButtonType { BasicButtonType {
@ -641,16 +642,14 @@ PageType {
questionDrawer.close() questionDrawer.close()
} }
questionDrawer.open() questionDrawer.open()
}
}
}
}
}
}
}
}
}
}
}
}
}
}
QuestionDrawer { QuestionDrawer {
id: questionDrawer id: questionDrawer
} }