summaryrefslogtreecommitdiffstats
path: root/lazy
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2022-11-14 00:24:23 +0100
committerLibravatar GitHub <noreply@github.com>2022-11-14 00:24:23 +0100
commitf5c9f63329ec420757c81ef73ab76e7a8cb2cd2e (patch)
tree06cd44cdc5abfca94c1acfa10ab0281ae21c4b0c /lazy
parent5f08b8d41ae2d749bd11068f103a0f8ce3abd7bf (diff)
parenta7a4a92466a4447f8d2e9b5ae2fc715ba6262de0 (diff)
downloadiced-f5c9f63329ec420757c81ef73ab76e7a8cb2cd2e.tar.gz
iced-f5c9f63329ec420757c81ef73ab76e7a8cb2cd2e.tar.bz2
iced-f5c9f63329ec420757c81ef73ab76e7a8cb2cd2e.zip
Merge pull request #1529 from tarkah/feat/text-input-operations
Add text input operations
Diffstat (limited to '')
-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| {