draft multiline input

This commit is contained in:
yggverse 2024-10-16 10:15:13 +03:00
parent d1c8afd83f
commit 1972438da6
9 changed files with 115 additions and 42 deletions

View file

@ -26,8 +26,8 @@ impl Input {
}
// Actions
pub fn show(&self, placeholder: &str, sensitive: bool) {
self.content.set(placeholder, sensitive);
pub fn show(&self, title: Option<&str>) {
self.content.set(title);
self.widget.show(true);
}