import { LineEdit } from "std-widgets.slint"; // Basic Input Component export component Input { in-out property text; in property placeholder; in property enabled: true; callback edited(string); LineEdit { text: root.text; placeholder-text: root.placeholder; enabled: root.enabled; edited(t) => { root.text = t; root.edited(t); } } }