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

fix(Autocomplete): support query with unicodes when using search_numbers #4419

Merged
merged 5 commits into from
Dec 19, 2024

Conversation

langz
Copy link
Contributor

@langz langz commented Dec 19, 2024

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

Copy link

vercel bot commented Dec 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
eufemia ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 11:53am

@langz langz requested review from kimroen and tujoworker December 19, 2024 11:23
Copy link

codesandbox-ci bot commented Dec 19, 2024

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.

langz and others added 2 commits December 19, 2024 12:36
@langz langz changed the title fix(Autocomplete): support query with æøå when using search_numbers fix(Autocomplete): support query with æøå when using search_numbers Dec 19, 2024
Copy link
Contributor

@kimroen kimroen left a 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!

@langz langz changed the title fix(Autocomplete): support query with æøå when using search_numbers fix(Autocomplete): support query with unicodes when using search_numbers Dec 19, 2024
@langz langz merged commit f19b7da into main Dec 19, 2024
10 checks passed
@langz langz deleted the fix/support-æøå-when-number-search branch December 19, 2024 12:58
tujoworker pushed a commit that referenced this pull request Dec 20, 2024
## [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))
@tujoworker
Copy link
Member

🎉 This PR is included in version 10.62.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Autocomplete: In search_numbers mode, non-alphanumeric characters are not matched
3 participants