summaryrefslogtreecommitdiffstats
path: root/lazy
diff options
context:
space:
mode:
authorLibravatar Cory Forsstrom <cforsstrom18@gmail.com>2022-11-11 08:43:36 -0800
committerLibravatar Cory Forsstrom <cforsstrom18@gmail.com>2022-11-11 08:43:36 -0800
commitc4bca3f2af7ae9b2c8dfc3af48ab73dad852ed34 (patch)
treea9c75de888366ea4d0f82c821e6d90a7682ae380 /lazy
parent23299a555f8b7e908a6a14915307792a7cf97b9a (diff)
downloadiced-c4bca3f2af7ae9b2c8dfc3af48ab73dad852ed34.tar.gz
iced-c4bca3f2af7ae9b2c8dfc3af48ab73dad852ed34.tar.bz2
iced-c4bca3f2af7ae9b2c8dfc3af48ab73dad852ed34.zip
Add text input operations
Diffstat (limited to 'lazy')
-rw-r--r--lazy/src/component.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/lazy/src/component.rs b/lazy/src/component.rs
index 8987b993..4f1df650 100644
--- a/lazy/src/component.rs
+++ b/lazy/src/component.rs
@@ -260,6 +260,14 @@ where
) {
self.operation.focusable(state, id);
}
+
+ fn text_input(
+ &mut self,
+ state: &mut dyn widget::operation::TextInput,
+ id: Option<&widget::Id>,
+ ) {
+ self.operation.text_input(state, id);
+ }
}
self.with_element(|element| {