shopware / meteor

Meteor is Shopware’s open-source design system that drives our commerce solutions. Extend and customise every aspect of Shopware – create elegant, delightful, and accessible experiences. There are no limits to your imagination.
https://shopware.design
MIT License
19 stars 3 forks source link

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

Open ROBJkE opened 1 month ago

ROBJkE commented 1 month ago

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