Select but don't empty the search box upon selection

As per your request.
This commit is contained in:
patriceac
2023-02-17 23:26:17 -08:00
committed by GitHub
parent 1050b13bbb
commit c2fba39cc7

View File

@@ -346,7 +346,8 @@ class ModelDropdown
this.modelList.style.display = 'block'
this.selectEntry()
this.showAllEntries()
this.modelFilter.value = ''
//this.modelFilter.value = ''
this.modelFilter.select() // preselect the entire string so user can just start typing.
this.modelFilter.focus()
this.modelFilter.style.cursor = 'auto'
}