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

EditableGrid: Support barcode scanners "streaming" input keys #1846

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

labkey-nicka
Copy link
Contributor

Rationale

Update editable grid test component to expose some methods publicly and introduce sendKeysToCell.

Related Pull Requests

Changes

  • Make isCellSelected and selectCell public.
  • Introduce sendKeysToCell to allow for sending keys to a cell.

@labkey-nicka labkey-nicka self-assigned this Mar 5, 2024
sendKeysToCell(cell, Keys.ENTER);
}

public void sendKeysToCell(WebElement cell, CharSequence... keysToSend)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May want to add a comment here as to the value of this method. For example does it emulate the barcode scanner?

@labkey-nicka labkey-nicka merged commit 10f82d9 into release24.3-SNAPSHOT Mar 6, 2024
4 checks passed
@labkey-nicka labkey-nicka deleted the 24.3_fb_barcode_scan branch March 6, 2024 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants