Skip to content
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]: mt-select ignores placeholder if :small="true" #292

Open
1 task done
ROBJkE opened this issue Sep 14, 2024 · 1 comment
Open
1 task done

[Bug]: mt-select ignores placeholder if :small="true" #292

ROBJkE opened this issue Sep 14, 2024 · 1 comment
Labels
type: bug 🐛 Something isn't working

Comments

@ROBJkE
Copy link

ROBJkE commented Sep 14, 2024

Package

@meteor/component-library

Package version

3.11.0

Link to minimal reproduction

https://meteor-component-library.vercel.app/?path=/story/components-form-mt-select--default-story&args=small:!true

Steps to reproduce

In Shopware administration for example:

<mt-select 
    :small="true"
    :placeholder="'my-placeholder'"
    :options="..." />

Actual behavior

If you set :small="true" and :placeholder="'my-placeholder'" the placeholder is ignored

Expected behavior

Set the given placeholder if the prop :small="true" is set

System Info

No response

Any additional comments?

If small is false everything works as espected

Code of Conduct

@ROBJkE ROBJkE added the type: bug 🐛 Something isn't working label Sep 14, 2024
@Haberkamp
Copy link
Contributor

Thanks for the issue, I'll do that with #430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants