-
Notifications
You must be signed in to change notification settings - Fork 125
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: Bring valid selection into multi input component #3213
Conversation
Deploy preview for fundamental-ngx ready! Built with commit ef47910 |
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 other than this one thing
@@ -68,6 +68,10 @@ export class ListItemComponent implements KeyboardSupportItemInterface, AfterCon | |||
@HostBinding('class.fd-list__item--link') | |||
link = false; | |||
|
|||
/** Defines if list item is used inside MultiInputComponent */ |
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.
At the very least this should be hidden from the app developer, but I think we do not need to use an input at all, the multi-input could get list item content children and set the property there. Or this list item could ascend a few parents and figure out if it is in a multi input.
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.
@mikerodonnell89 You are right, it should be controlled from parent. Anyway it has been changed, so now it uses selection list for multi input with some minor styles adjustments.
c303a61
to
361749f
Compare
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.
I think after opening the popover, user should be able to tab in to the list. Currently I have to click a list item to focus it before I can use the arrow keys to nav through the list
Please provide a link to the associated issue.
part of #3085
Please provide a brief summary of this pull request.
Now multi input uses same structure as list with selection. Temporary there are added some styles, to keep fiori3 design.
Also there is fixed focusing/selecting items by keyboard
Please check whether the PR fulfills the following requirements
https://github.com/SAP/fundamental-ngx/blob/master/CONTRIBUTING.md
https://github.com/SAP/fundamental-ngx/wiki/PR-Review-Checklist