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

Implement selectedOptions for select[multiple] #1282

Closed
jakeboone02 opened this issue Feb 27, 2024 · 0 comments · Fixed by #1346
Closed

Implement selectedOptions for select[multiple] #1282

jakeboone02 opened this issue Feb 27, 2024 · 0 comments · Fixed by #1346
Labels
enhancement New feature or request

Comments

@jakeboone02
Copy link

Is your feature request related to a problem? Please describe.

I'm converting tests from Jest to Bun and using happy-dom as recommended by the Bun docs. To test some of the React components, I access the selectedOptions property of the rendered <select multiple> element. This property is always undefined in happy-dom. No code, issues, PRs, etc. in this repo mention the property.

Describe the solution you'd like

Implement HTMLSelectElement#selectedOptions.

Describe alternatives you've considered

Sticking with jsdom for now.

Additional context

N/A

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

Successfully merging a pull request may close this issue.

1 participant