Try to search your question here, if you can't find : Ask Any Question Now ?

make ng-select width adjust to selected items / available options?

HomeCategory: stackoverflowmake ng-select width adjust to selected items / available options?
Avatarjulie asked 5 months ago

I’m using ng-select in an Ionic3 / Angular5 project and I’m using its multiple selection configuration. The presentation of the select input is always considerably wider than it needs to be to contain the selected items or any of the available options.

I’d like it to be sized such that the width is at least the maximum width the component would have if any one of the available options were selected, and such that the otherwise the width is whatever is required to contain the actively selected options.

Is it possible to get ng-select to behave in that way?

1 Answers
Best Answer
Avatarnaveen answered 5 months ago
Your Answer

8 + 20 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com