diff --git a/app/Views/medical/product_edit.php b/app/Views/medical/product_edit.php index 5e8e957..2acc24d 100644 --- a/app/Views/medical/product_edit.php +++ b/app/Views/medical/product_edit.php @@ -737,6 +737,15 @@ $flag = static function ($v): string { return; } + if (evt.key === 'Tab' && !evt.shiftKey) { + if (!isOpen) { + return; + } + var tabIdx = activeSuggestionIndex >= 0 ? activeSuggestionIndex : 0; + chooseSuggestion(tabIdx); + return; + } + if (evt.key === 'Escape') { if (!isOpen) { return;