feat(components): make the quote a Textarea in EditQuote

This commit is contained in:
Reed Krantz
2026-01-12 20:15:04 -06:00
parent 7738a8fa78
commit f1fe0e9827

View File

@@ -1,5 +1,6 @@
use crate::components::{ use crate::components::{
date_picker::{DatePicker, DatePickerInput}, date_picker::{DatePicker, DatePickerInput},
textarea::Textarea,
Input, Input,
}; };
use dioxus::prelude::*; use dioxus::prelude::*;
@@ -19,7 +20,7 @@ pub fn EditQuote() -> Element {
}); });
rsx! { rsx! {
Input { Textarea {
oninput: move |e: FormEvent| quote.set(e.value()), oninput: move |e: FormEvent| quote.set(e.value()),
placeholder: "Enter the quote", placeholder: "Enter the quote",
value: quote, value: quote,