feat(components): make the quote a Textarea in EditQuote
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user