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
@@ -271,7 +271,7 @@ var JualJS = {
onSuccess: (ajson) => {
$('#divTXMaster').html(ajson.html);
FoniaJS.AutoComplete('#Nama_Member', this.PHP + '/auto_member', [], {'selectFunc':this.Member_Comp});
FoniaJS.AutoComplete('#Nama_Produk', this.PHP + '/auto_produk', ['No_Jual','CabID','Grup_MemberID'], {'selectFunc':this.Produk_Comp});
FoniaJS.AutoComplete('#Nama_Produk', this.PHP + '/auto_produk', ['No_Jual','CabID','Grup_MemberID'], {'selectFunc':this.Produk_Comp, 'breakFocus': true});
$('#Nama_Produk').click(() => $('#Nama_Produk').select());
$('#POS_Qty').on({
keyup: (e) => {