DioxusLabs / DioxusLabs/docsite

Search Example Code broken

Open
#614 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
206
Forks
208
Avg merge
1h 11m
Merged PRs (30d)
3

Description

I am trying to make use of the search code here but it seems like this is causing compile errors on my end.

https://github.com/DioxusLabs/docsite/blob/main/packages/search/README.md

I've stripped it down to just

```rust
#[component]
fn Homepage() -> Element {
let search_text = use_signal(String::new);

render!{
input {
oninput: move |e| {
search_text.set(e.value.clone());
},
value: "{search_text}",
}
}
}
```

and yet still I get errors; when I try to use the suggestions the compiler spits out, I get a filed build for dx but no error messages.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.