Fixed bug in autoselect_typed plugin

This commit is contained in:
Jan Böhmer 2025-02-16 20:24:13 +01:00
parent a976f97dbb
commit 7286c4bbef

View file

@ -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()