Skip to content

Conversation

@alastair-simon
Copy link
Contributor

What?

Fixes: #293

Why?

The select component returns an empty array when cleared instead of null

How?

I have set the return value to be null now

Testing?

I added a unit test to verify this change works as expected

@vercel
Copy link

vercel bot commented Apr 14, 2025

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

Name Status Preview Comments Updated (UTC)
meteor-component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 2, 2025 0:28am

test: add test to verify clear null value

fix: add changeset

fix: visual test to reflect null value

fix: allow empty array return if multiSelect enabled

fix: visual clear test

test: add additional unit test

refactor: simplify logic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: components @meteor/components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: mt-select clear icon returns empty array

6 participants