changed AddApplicant
This commit is contained in:
@@ -6,6 +6,7 @@ GridLayout
|
||||
{
|
||||
id: bankAccount
|
||||
columns: 2
|
||||
property alias jobstatus: title
|
||||
Label
|
||||
{
|
||||
text: qsTr("Beschäftigungsverhältnis")
|
||||
@@ -30,15 +31,11 @@ GridLayout
|
||||
property string name: "iban"
|
||||
id: iban
|
||||
Layout.fillWidth: true
|
||||
placeholderText: "Pflichtfeld"
|
||||
placeholderTextColor: "red"
|
||||
onTextChanged: checkFields()
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: qsTr("Bank")
|
||||
Layout.alignment: Qt.AlignRight
|
||||
|
||||
}
|
||||
ComboBox
|
||||
{
|
||||
@@ -47,15 +44,6 @@ GridLayout
|
||||
Layout.fillWidth: true
|
||||
model: ["",qsTr("Sparkasse"),qsTr("Volksbank")]
|
||||
editable: true
|
||||
onCurrentTextChanged: checkFields()
|
||||
onEditTextChanged: checkFields()
|
||||
|
||||
|
||||
}
|
||||
function checkBankField()
|
||||
{
|
||||
return (iban.text.trim() && (bankname.currentText.trim() || bankname.editText.trim()))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user