-
Notifications
You must be signed in to change notification settings - Fork 469
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
[Bug]: weird typescript error when mapping SearchSelectItems in SearchSelect component #686
Comments
Interesting, will take a look at this next week |
🎉 This issue has been resolved in version 3.11.1-beta.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi @sudhamjayanthi, may you try the latest beta and tell me if the mapping is now working for you?
|
🎉 This issue has been resolved in version 3.11.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 3.12.0-beta.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 3.12.0-beta-package-updates.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 3.12.0-beta-customcolors.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Tremor Version
@tremor/[email protected]
Link to minimal reproduction
https://codesandbox.io/p/sandbox/still-voice-q9sxfn?file=%2Fpages%2F_app.tsx%3A7%2C1
Steps to reproduce
OR
Just checkout the above reproduction link and run
npm run build
What is expected?
It works without any errors
What is actually happening?
It throws the error during build process (
npm run build
)What browsers are you seeing the problem on?
No response
Any additional comments?
Also, I figured this error only happens when you have the first single SearchSelectItem seperately along AND the rest of the SearchSelectItems through map. Commenting out either one of those fixes the bug — quite weird — but I need to have both of them since currently there is no way to clear the input otherwise.
If this would take time to figure out and fix... I hope that atleast #681, where I extended the
enableClear
functionality for SearchSelect, could be merged so that I get away by just using the map. Thanks! :)The text was updated successfully, but these errors were encountered: