add submit form on focus search input, change import search_input
This commit is contained in:
parent
e3aa2a0ec5
commit
fd6d4523cd
1 changed files with 16 additions and 12 deletions
|
|
@ -6069,7 +6069,10 @@ impl Application for App {
|
|||
widget::button::standard(fl!("cancel")).on_press(Message::DialogCancel),
|
||||
)
|
||||
.control(
|
||||
widget::search_input(fl!("search-application"), search_app_name)
|
||||
widget::text_input::search_input(
|
||||
fl!("search-application"),
|
||||
search_app_name,
|
||||
)
|
||||
.id(self.dialog_text_input.clone())
|
||||
.on_clear(Message::OpenWithSearchClear)
|
||||
.on_input(move |search_app_name| {
|
||||
|
|
@ -6080,7 +6083,8 @@ impl Application for App {
|
|||
store_opt: store_opt.clone(),
|
||||
search_app_name,
|
||||
})
|
||||
}),
|
||||
})
|
||||
.on_submit(|_| Message::DialogComplete),
|
||||
)
|
||||
.control(widget::scrollable(column).height({
|
||||
let max_size = self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue