From 43421c56d58ed7e86fd95c9dbdb6d080aa5a965e Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Wed, 24 Jul 2024 09:20:09 -0400 Subject: [PATCH] example: use a local signal for the input --- examples/server_fns_axum/src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/server_fns_axum/src/app.rs b/examples/server_fns_axum/src/app.rs index 982cc1dd4..b29d4f4e2 100644 --- a/examples/server_fns_axum/src/app.rs +++ b/examples/server_fns_axum/src/app.rs @@ -380,7 +380,7 @@ pub fn FileUpload() -> impl IntoView {

{move || { - if upload_action.input().read().is_none() && upload_action.value().read().is_none() + if upload_action.input_local().read().is_none() && upload_action.value().read().is_none() { "Upload a file.".to_string() } else if upload_action.pending().get() {