Add tabindex to input fields and enhance autocomplete functionality with breakFocus option

This commit is contained in:
2026-11-01 14:12:45 +07:00
parent 7a585ab7c2
commit 465f88bcbc
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ var POSJS = {
Simpan: false,
index: function(){
FoniaJS.AutoComplete('#Nama_Produk', this.PHP + '/auto_produk', ['No_Jual','Grup_MemberID'], {'selectFunc': this.Produk_Comp, 'keyFunc': this.Produk_Key});
FoniaJS.AutoComplete('#Nama_Produk', this.PHP + '/auto_produk', ['No_Jual','Grup_MemberID'], {'selectFunc': this.Produk_Comp, 'keyFunc': this.Produk_Key, 'breakFocus': true});
$('#Nama_Produk').click(() => $('#Nama_Produk').select());
$('#POS_Qty').on({
keyup: (e) => {