diff --git a/examples/bash/simple_input.sh b/examples/bash/simple_input.sh index a41cc3042b8..dba8fb4a95d 100755 --- a/examples/bash/simple_input.sh +++ b/examples/bash/simple_input.sh @@ -4,9 +4,9 @@ OUTPUT=$(slint-viewer - --save-data - << EOF import { StandardButton, GridBox, LineEdit } from "std-widgets.slint"; -_ := Dialog { - property name <=> name-le.text; - property address <=> address-le.text; +export component _ inherits Dialog { + in-out property address <=> address-le.text; + in-out property name <=> name-le.text; StandardButton { kind: ok; } StandardButton { kind: cancel; } preferred-width: 300px;