feat(components): make the quote a Textarea in EditQuote
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
use crate::components::{
|
||||
date_picker::{DatePicker, DatePickerInput},
|
||||
textarea::Textarea,
|
||||
Input,
|
||||
};
|
||||
use dioxus::prelude::*;
|
||||
@@ -19,7 +20,7 @@ pub fn EditQuote() -> Element {
|
||||
});
|
||||
|
||||
rsx! {
|
||||
Input {
|
||||
Textarea {
|
||||
oninput: move |e: FormEvent| quote.set(e.value()),
|
||||
placeholder: "Enter the quote",
|
||||
value: quote,
|
||||
|
||||
Reference in New Issue
Block a user