How do I get the text from this input form?
rsx!(
form {
class: "h-screen flex flex-col items-center justify-center text-center",
onsubmit: move |event| dioxus_logger::tracing::info!("SUBMIT: {:?}", event.values()),
input {
// value: "{input}",
// // onsubmit: move |event| dioxus_logger::tracing::info!("SUBMIT: {:?}", event.value()),
// oninput: move |ev| input.set(ev.value()),
r#type: "text",
placeholder: "Enter your joke",
class: "input input-bordered input-primary w-full max-w-xs"
}
br { class: "h-5" }
input { r#type: "submit", class: "btn btn-primary btn-outline" }
}
)