Skip to content

Commit

Permalink
example: use a local signal for the input
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj committed Jul 24, 2024
1 parent 50026be commit ca0c2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/server_fns_axum/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ pub fn FileUpload() -> impl IntoView {
</form>
<p>
{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() {
Expand Down

0 comments on commit ca0c2a6

Please sign in to comment.