base-ui icon indicating copy to clipboard operation
base-ui copied to clipboard

[select] Add `multiple` prop

Open atomiks opened this issue 6 months ago • 3 comments

Closes https://github.com/mui/base-ui/issues/1956

atomiks avatar Jun 26 '25 07:06 atomiks

vite-css-base-ui-example

npm i https://pkg.pr.new/@base-ui-components/react@2173

commit: 136877c

pkg-pr-new[bot] avatar Jun 26 '25 07:06 pkg-pr-new[bot]

Bundle size report

Bundle Parsed Size Gzip Size
@base-ui-components/react 🔺+1.47KB(+0.48%) 🔺+480B(+0.49%)

Details of bundle changes

Generated by :no_entry_sign: dangerJS against 136877c8cc2b4e954599cb85899ae41b834ffd78

mui-bot avatar Jun 26 '25 07:06 mui-bot

Deploy Preview for base-ui ready!

Name Link
Latest commit 136877c8cc2b4e954599cb85899ae41b834ffd78
Latest deploy log https://app.netlify.com/projects/base-ui/deploys/686c91cc436e0000087998ea
Deploy Preview https://deploy-preview-2173--base-ui.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Jun 26 '25 07:06 netlify[bot]

Hey y'all - is there any update on this? What needs to be done to get this merged?

If needed, I can pick this up and help fix the relevant issues... Would really love to have this feature as it's very relevant for basically every project where I use a Select...

ej-shafran avatar Jul 07 '25 09:07 ej-shafran

Note on hidden <select> vs. hidden <input>s:

From what I can tell the hidden <select> requires all possible <option>s to be available upfront (the browser autofill test fails in particular if not), which would make the items prop required and also introduce some cost of creating all the <option> elements. The hidden inputs on the other hand don't have this issue

atomiks avatar Jul 08 '25 02:07 atomiks