-
Notifications
You must be signed in to change notification settings - Fork 130
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
fix(core) Add Support for Multi-line Messages in Select Component Dropdown #12596
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for fundamental-ngx ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for fundamental-ngx ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Visit the preview URL for this PR (updated for commit 08c6036): https://fundamental-ngx-gh--pr12596-11430-fix-select-for-ffhp79qa.web.app (expires Fri, 01 Nov 2024 14:08:50 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 41b993ee8e451bd7c6770b342ce142dc886eacff |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the PR title is not well written and the PR fields are not set
…opdown closes [#11430](#11430) ## Description - Refactored the select component to manage text display mode. - Adjusted padding in the select component message to eliminate unnecessary space. - Introduced a new input property, textOverflow, to control how text is displayed in the dropdown list, allowing for either ellipsis or full text.
@@ -327,6 +345,11 @@ export class SelectComponent<T = any> | |||
/** @hidden */ | |||
_selectionModel: SelectionModel<OptionComponent>; | |||
|
|||
/** @hidden */ | |||
get showEllipsis(): boolean { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but why bother with this getter function if you could simply do textOverflow === 'ellipsis'
in the template?
fix(core): Add Support for Multi-line Messages in Select Component Dropdown
closes #11430
Description
After