From c1b38f27ed823042b6b83a814a438c910de0bc08 Mon Sep 17 00:00:00 2001 From: Reed Krantz Date: Mon, 12 Jan 2026 20:26:44 -0600 Subject: [PATCH] feat(components): add a Textarea input for context on EditQuote --- src/components/edit_quote.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/edit_quote.rs b/src/components/edit_quote.rs index 431178b..b9877aa 100644 --- a/src/components/edit_quote.rs +++ b/src/components/edit_quote.rs @@ -18,6 +18,7 @@ pub fn EditQuote() -> Element { .date(), ) }); + let mut context = use_signal(String::new); rsx! { Textarea { @@ -35,5 +36,10 @@ pub fn EditQuote() -> Element { on_value_change: move |v| date.set(v), DatePickerInput {} } + Textarea { + oninput: move |e: FormEvent| context.set(e.value()), + placeholder: "Any additional context", + value: context, + } } }