mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
example: use a local signal for the input
This commit is contained in:
parent
4c4d3dcfa3
commit
43421c56d5
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue