fix: cannot scan spacebar character in pos (#25479)
This commit is contained in:
parent
9178d95cca
commit
34ce4edf29
@ -168,6 +168,7 @@ erpnext.PointOfSale.ItemSelector = class {
|
||||
case (iCode >= 160 && iCode <= 164) || iCode == 170: // ^ ! # $ *
|
||||
case iCode >= 186 && iCode <= 194: // (; = , - . / `)
|
||||
case iCode >= 219 && iCode <= 222: // ([ \ ] ')
|
||||
case iCode == 32: // spacebar
|
||||
if (oEvent.key !== undefined && oEvent.key !== '') {
|
||||
return oEvent.key;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user