diff --git a/core/src/widget/text_input.rs b/core/src/widget/text_input.rs index 450a7cae..16c67954 100644 --- a/core/src/widget/text_input.rs +++ b/core/src/widget/text_input.rs @@ -80,7 +80,7 @@ where } } -#[derive(Debug, Default)] +#[derive(Debug, Default, Clone)] pub struct State { pub is_focused: bool, cursor_position: usize,