Merge pull request #902 from patriceac/patch-32

Select but don't empty the search box upon selection
This commit is contained in:
cmdr2 2023-02-20 19:14:02 +05:30 committed by GitHub
commit ce3355d6aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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'
}