8000 test by zhangshanwen · Pull Request #417 · qor5/admin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

test #417

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 2, 2024
Merged

test #417

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion media/filechooser.go
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,7 @@ func searchComponent(ctx *web.EventContext, field string, cfg *media_library.Med
Query(paramTab, web.Var("vars.media_tab")).
Query(ParamParentID, web.Var("vars.media_parent_id"))
}
event := clickEvent.Go()

return VTextField().
Density(DensityCompact).
Expand All @@ -830,7 +831,8 @@ func searchComponent(ctx *web.EventContext, field string, cfg *media_library.Med
SingleLine(true).
Attr("v-model", "vars.searchMsg").
Attr(web.VAssign("vars", `{searchMsg:""}`)...).
Attr("@keyup.enter", clickEvent.Go()).
Attr("@click:clear", `vars.searchMsg="";`+event).
Attr("@keyup.enter", event).
Children(
web.Slot(VIcon("mdi-magnify")).Name("append-inner"),
).MaxWidth(320)
Expand Down
Loading
0