mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 18:29:09 +00:00
Fix slint compiler warning about two-way bindings and missing default
This commit is contained in:
parent
1fac9b7ad0
commit
a23a941cf5
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ export TextEdit := ScrollView {
|
|||
}
|
||||
|
||||
input := TextInput {
|
||||
enabled: true;
|
||||
edited => { root.edited(self.text); }
|
||||
color: enabled ? StyleMetrics.textedit-text-color : StyleMetrics.textedit-text-color-disabled;
|
||||
single-line: false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue