我有文本输入框:
TextInput {
x: 5
y: 2
maximumLength: 16
width: maximumLength * 20
height: 17
focus: false
validator: RegExpValidator { regExp: /\d+/ }
KeyNavigation.down: amount
}
还有一个清除按钮。当我单击清除按钮时,它应该清除文本输入框。怎么做?