Skip to content

Commit 7447d8a

Browse files
committed
Fix web_app example
1 parent 4ac64d9 commit 7447d8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/web_app/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ crate-type = ["cdylib", "rlib"]
1010
[dependencies]
1111
wasm-bindgen = "0.2"
1212
wasm-bindgen-futures = "0.4.18"
13-
yew = "0.17"
13+
yew = "0.18"
1414
meilisearch-sdk = {path="../.."}
1515
serde = {version="1.0", features=["derive"]}
1616
web-sys = "0.3"

examples/web_app/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ fn header_content(processing_time_ms: usize, link: Rc<ComponentLink<Model>>) ->
154154
</p>
155155
<form role="search" id="search">
156156
// We fire an event each time the value changes so that we can update the results
157-
<input placeholder="name, keywords, description" autofocus=true autocapitalize="none" autocorrect=false autocomplete=false tabindex="1" type="search" id="textSearch" oninput=link.callback(|e: yew::html::InputData| Msg::Input(e.value))/>
157+
<input placeholder="name, keywords, description" autofocus=true autocapitalize="none" autocorrect="off" autocomplete="off" tabindex="1" type="search" id="textSearch" oninput=link.callback(|e: yew::html::InputData| Msg::Input(e.value))/>
158158
// We display the processing time here
159159
<span id="request-time">{processing_time_ms}{" ms"}</span>
160160
</form>

0 commit comments

Comments
 (0)