-
Notifications
You must be signed in to change notification settings - Fork 32
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
fix(Autocomplete): support query with unicodes when using search_numbers
#4419
The head ref may contain hidden characters: "fix/support-\u00E6\u00F8\u00E5-when-number-search"
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
packages/dnb-eufemia/src/components/autocomplete/Autocomplete.js
Outdated
Show resolved
Hide resolved
packages/dnb-eufemia/src/components/autocomplete/Autocomplete.js
Outdated
Show resolved
Hide resolved
Co-authored-by: Tobias Høegh <tobias@tujo.no>
Co-authored-by: Tobias Høegh <tobias@tujo.no>
search_numbers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works! ✨ Thank you!
search_numbers
search_numbers
## [10.62.0](v10.61.0...v10.62.0) (2024-12-20) ### 🔁 CI * upgrade playwright ([#4413](#4413)) ([27f2106](27f2106)) ### ✨ Features * **Forms:** add `label` and `showLabel` prop to Form.SubmitIndicator ([#4409](#4409)) ([95af6e3](95af6e3)) * **Forms:** add `update` method to `Form.setData` ([#4416](#4416)) ([d2f5c23](d2f5c23)) * **Forms:** show a label along the indicator for async field processes ([#4410](#4410)) ([885ae0d](885ae0d)), closes [#4409](#4409) ### 🐛 Bug Fixes * **Autocomplete:** support query with unicodes when using `search_numbers` ([#4419](#4419)) ([f19b7da](f19b7da))
🎉 This PR is included in version 10.62.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
fixes #4293
As of now, I've just added support for the characters ÆØÅ, not sure if there's other non-alphanumeric characters we should support, and perhaps improve the regex to something better than just
\wÆØÅæøå
.Original CSB from the issue
CSB with the fix using commit aa28f0c
CSB with the fix using commit 2334c87