Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scanned Input in Link Field Auto-Selects First Item in List Instead of Retaining Scanned Value #26846

Open
TremendouslyHighFrequency opened this issue Jun 24, 2024 · 0 comments
Labels

Comments

@TremendouslyHighFrequency

Description of the issue

When using a barcode scanner to input data into a link field in a child table within the one of our doctype forms, the input briefly shows the correct value but then automatically shifts to select the first item in the list. This issue did not occur before recent updates to the Frappe framework.

We have tested the barcode scanner using other software/text editors and it is working as expected. It auto-tabs after scan.
Other types of fields, such as text fields in frappe, work with the scanner.
This was all working fine before a recent update to frappe and bench.

Context information (for bug reports)

Output of bench version

frappe 15.x.x-develop

##Steps to reproduce the issue

  1. Set up a doctype with a child table.
  2. Add a link field in the child table.
  3. Use a barcode scanner to input data into the link field.

Observed result

The link field briefly shows the correct scanned value but then changes to select the first item in the dropdown list.

Expected result

The link field should retain the scanned value and not change to the first item in the list.

Stacktrace / full error message

(No stacktrace or error message observed; issue is with UI behavior)

Additional information

Ubuntu 22.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant