I've this below code to receive barcode data from scanner. Scanning barcode does not accept Enter key press of the scanner and I've to press OK button to continue. This is very unproductive on business operation. On scanning a barcode DisplayPromptAsync should return the value of the barcode by automatically triggering OK/accept button.
va barcode= await DisplayPromptAsync("Barcode","Scan Barcode","OK","Cancel",initialValue:"");
Steps to Reproduce
Create a simple Maui app.
Add simple DisplayPromptAsync to read scanner data.
va barcode= await DisplayPromptAsync("Barcode","Scan Barcode","OK","Cancel",initialValue:"");
Scan a barcode.
Display stays open just displaying the scanned value and does not act on scanner Enter key press \n.
Please run it on any barcode scanner android device. I used Honeywell CT47.
Click the button which will open a DisplayPromptAsync
Scan a barcode and you'll see DisplayPromptAsync is not accepting scanner Enter key press and stays on screen. You'll have to touch on 'Ok' to get the data, which is unproductive.
Description
I've this below code to receive barcode data from scanner. Scanning barcode does not accept Enter key press of the scanner and I've to press OK button to continue. This is very unproductive on business operation. On scanning a barcode DisplayPromptAsync should return the value of the barcode by automatically triggering OK/accept button.
va barcode= await DisplayPromptAsync("Barcode","Scan Barcode","OK","Cancel",initialValue:"");
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
8.0.10 SR3
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
No response
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output