angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.35k stars 6.74k forks source link

feat(Material Select) - Displaying Custom Trigger when no option is selected #22179

Open omkarshinge opened 3 years ago

omkarshinge commented 3 years ago

Displaying Custom Trigger when no option is selected

The feature to let user display Custom trigger when user has not selected any element ( We can have a property which will let us to show the custom trigger even when no option is selected )

Use Case : While implementing multiple select filter using Material Select component, we can use <mat-select-trigger> for creating custom trigger as per the specs one need.

We had a use case where we were required to create search based multi select filter. While searching through the elements using the input box provided the options get populated dynamically as per user entered string. When user searches using the input box and if no option in the options populated are selected then the custom trigger we had gets hidden (It doesn't display). This may lead the user of such filter in consistent state as to what all values are selected previously as the trigger gets hidden

angular-robot[bot] commented 2 years ago

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot[bot] commented 2 years ago

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.