Disable add button when text is empty
This commit is contained in:
committed by
Tobias Fella
parent
c528929b30
commit
65da416b8e
@@ -238,6 +238,7 @@ FormCard.FormCardPage {
|
||||
Accessible.name: text
|
||||
icon.name: "list-add"
|
||||
display: QQC2.AbstractButton.IconOnly
|
||||
enabled: aliasAddField.text.length > 0
|
||||
|
||||
onClicked: {
|
||||
room.mapAlias(aliasAddField.text)
|
||||
|
||||
Reference in New Issue
Block a user