Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
XiangpengHao committed Nov 3, 2024
1 parent 1b40ced commit de9f8e2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -672,10 +672,9 @@ fn App() -> impl IntoView {
<input
type="url"
placeholder="Enter Parquet file URL"
on:focus=move |_| {
if url.get() == default_url {
set_url.set("".to_string());
}
on:focus=move |ev| {
let input: web_sys::HtmlInputElement = event_target(&ev);
input.select();
}
on:input=move |ev| {
set_url.set(event_target_value(&ev));
Expand Down

0 comments on commit de9f8e2

Please sign in to comment.