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

eschweitzer78/issue-280 #281

Merged
merged 13 commits into from
Jan 8, 2024
Merged

eschweitzer78/issue-280 #281

merged 13 commits into from
Jan 8, 2024

Conversation

eschweitzer78
Copy link
Owner

What does this PR do?

Omnistudio v248 (which is in preview) introduces a breaking change in the template for the combobox widget used in the Select element.

The v246 combobox has an event handler on "mouseup" whereas the v248 combobox has it on "click". The handler code actively tests the event type so that mouseup no longer triggers the right business logic in the showLookup method if the running omnistudio version is 248 and we keep a v246 style template.

As a fix, we add "click" as a further trigger for the handler knowing the v246 and v248 will discard the event they are not interested in (mouseup ignored in v248, click ignored in v246).

What issues does this PR fix or reference?

#280

#

The PR fulfills these requirements:

[ ] Tests for the proposed changes have been added/updated.
[x] Code linting and formatting was performed.

Functionality Before

Omnistudio select does not show options when clicking on the input field.

Functionality After

Options are shown again.

@eschweitzer78 eschweitzer78 linked an issue Jan 8, 2024 that may be closed by this pull request
1 task
@eschweitzer78 eschweitzer78 merged commit 5acf0a6 into main Jan 8, 2024
12 checks passed
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.

sfGpsDsAuNswFormSelectOsN component not working in Spring 24 sandbox
1 participant