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

Add method for choosing a value from a selection list based on index #2100

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

labkey-susanh
Copy link
Contributor

@labkey-susanh labkey-susanh commented Oct 18, 2024

Rationale

With our selection dropdowns now possibly including identifying field data, the selection based on exact match for the text of the option will not work. This PR adds some utility methods for choosing from a lookup based on the expected index of the option.

Related Pull Requests

Changes

  • Add getOptionElements method to BaseReactSelect
  • Add a couple of setCellValueForLookup methods that accept integer indexes for the option to be chosen

@labkey-susanh labkey-susanh merged commit d8cbbca into develop Oct 21, 2024
4 checks passed
@labkey-susanh labkey-susanh deleted the fb_selectionFixes branch October 21, 2024 17:40
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