checkfield ApplicantNationalInsurance and ApplicantVarious not ready yet
This commit is contained in:
@@ -32,6 +32,7 @@ GridLayout
|
||||
Layout.fillWidth: true
|
||||
placeholderText: "Pflichtfeld"
|
||||
placeholderTextColor: "red"
|
||||
onTextChanged: checkFields()
|
||||
}
|
||||
Label
|
||||
{
|
||||
@@ -44,13 +45,16 @@ GridLayout
|
||||
property string name: "bank"
|
||||
id: bankname
|
||||
Layout.fillWidth: true
|
||||
model: [qsTr("Sparkasse"),qsTr("Volksbank")]
|
||||
model: ["",qsTr("Sparkasse"),qsTr("Volksbank")]
|
||||
editable: true
|
||||
onCurrentTextChanged: checkFields()
|
||||
onEditTextChanged: checkFields()
|
||||
|
||||
|
||||
}
|
||||
function checkBankField()
|
||||
{
|
||||
// return (iban.text.trim() && bankname.text.trim())
|
||||
return (iban.text.trim())
|
||||
return (iban.text.trim() && (bankname.currentText.trim() || bankname.editText.trim()))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user