Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsher committed Dec 5, 2023
1 parent 1920196 commit a843c1a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/qml/DailyLoanerDevice.qml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ Item {
target: ui

function onShowOutstandingLoansSignal(serials) {
txtInstructions.text += "\nNOTE: The following devices are currently checked out by this student: " + serials + "\n"
txtInstructions.text += "\nNOTE: The following device(s) are currently checked out by this student: " + serials + "\n"
}
}

function verifyForm() {
if (inputSerial.text.toString().length > 0) {
btnNext.enabled = true
}
else {
btnNext.enabled = false
}
if (inputSerial.text.toString().length > 0) {
btnNext.enabled = true
}

function setFocus() {
inputSerial.focus = true
inputSerial.forceActiveFocus()
else {
btnNext.enabled = false
}
}

function setFocus() {
inputSerial.focus = true
inputSerial.forceActiveFocus()
}


ColumnLayout {
Expand Down

0 comments on commit a843c1a

Please sign in to comment.