mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +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()
|
const val = self.inputValue()
|
||||||
|
//Do nothing if the input is empty
|
||||||
|
if (!val) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if (self.options[val]) {
|
if (self.options[val]) {
|
||||||
self.addItem(val)
|
self.addItem(val)
|
||||||
self.setTextboxValue()
|
self.setTextboxValue()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue