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(dropdown.tsx): handling the Placeholder if the label isnt provided #1263
base: main
Are you sure you want to change the base?
Conversation
currently the Dropdown - the label has to be passed, if the there is no label, then showing default placeholder fix themesberg#1260
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1263 +/- ##
==========================================
- Coverage 99.54% 97.35% -2.20%
==========================================
Files 163 216 +53
Lines 6621 9224 +2603
Branches 401 538 +137
==========================================
+ Hits 6591 8980 +2389
- Misses 30 244 +214 ☔ View full report in Codecov by Sentry. |
Hello @SutuSebastian , Sorry to bother you, can you please review this PR? |
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.
maybe add a new optional prop called placeholder
then render {label ?? placeholder}
but for this we have to make label
optional, not sure if this is intended.
currently the Dropdown - the label has to be passed, if the there is no label, then showing default placeholder
fix #1260