feat: implement new ValidatedForm and error handling for text fields
Note that text fields only accept Region 15 email addresses right now. We should add extra domains in the future.
This commit is contained in:
1 parent
139ffdbe55
commit
74e7111820
9 files changed
+285
-67
No files matched your search
@@ -2,7 +2,7 @@ use leptos::prelude::*;
|
||||
|
||||
#[component]
|
||||
pub fn ActionButton(
|
||||
#[prop(default = String::from("button"))] button_type: String,
|
||||
#[prop(default = String::from("button"), into)] button_type: String,
|
||||
#[prop(optional, into)] disabled: Signal<bool>,
|
||||
children: Children,
|
||||
) -> impl IntoView {
|
||||
|
||||
Reference in new issue
Block a user