mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Fixed bug in autoselect_typed plugin
This commit is contained in:
parent
a976f97dbb
commit
7286c4bbef
1 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,11 @@ function select_current_input(self){
|
|||
}
|
||||
|
||||
const val = self.inputValue()
|
||||
//Do nothing if the input is empty
|
||||
if (!val) {
|
||||
return
|
||||
}
|
||||
|
||||
if (self.options[val]) {
|
||||
self.addItem(val)
|
||||
self.setTextboxValue()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue