Add text to button

This commit is contained in:
Emilia Allison 2023-10-24 20:32:51 -04:00
parent 562dc2adf6
commit 11a561c1d4
Signed by: emilia
GPG Key ID: 7A3F8997BFE894E0
1 changed files with 1 additions and 0 deletions

View File

@ -337,6 +337,7 @@ pub fn MainWindow() -> Html {
.dyn_into::<HtmlButtonElement>()
.unwrap();
submit.set_value("Submit");
submit.set_inner_text("Submit");
let submit_callback = {
let main_dispatch = main_dispatch.clone();
let from_source = from_source.clone();