diff --git a/crates/ui2/src/elements/input.rs b/crates/ui2/src/elements/input.rs index 19c51c1ec0b513e84a447825a30cc131dbf77df7..33647e234f71ba2e4f32e41919032b69fbe4c3fd 100644 --- a/crates/ui2/src/elements/input.rs +++ b/crates/ui2/src/elements/input.rs @@ -12,7 +12,7 @@ pub enum InputVariant { } #[derive(Element)] -pub struct Input { +pub struct Input { state_type: PhantomData, placeholder: SharedString, value: String, @@ -22,7 +22,7 @@ pub struct Input { is_active: bool, } -impl Input { +impl Input { pub fn new(placeholder: impl Into) -> Self { Self { state_type: PhantomData,