jxom / bumbag-ui

Build themeable React & React Native applications with your Bumbag 👝
https://bumbag.style
MIT License
1.01k stars 50 forks source link

hide label and placeholder in select options #189

Closed maxmorlocke closed 2 years ago

maxmorlocke commented 2 years ago

Currently, we always include the label or placeholder in the select options as a disabled option. Some users (e.g. me) may not want this behavior. This PR allows a pair of configurables with default values to maintain compatibility with existing functionality that enable not including the label in the options of the Select box.

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

bumbag-ui – ./website

🔍 Inspect: https://vercel.com/jxom/bumbag-ui/52SvfqbR3Tz4WbLxaTKDDtN2q4QY
✅ Preview: https://bumbag-ui-git-fork-flightpenguin-max-hide-label-and-b33c40-jxom.vercel.app