-
Notifications
You must be signed in to change notification settings - Fork 63
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
feat: added fw-list-options component and wiring up of fw-popover #252
Conversation
renamed methods for fw-option-list and moved hardcoded strings into props.
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.
As discussed in our review meeting let's follow up with the following items in a different PR
- Dynamic search options
- Accessibility: keyboard, aria-markers
|
||
render() { | ||
return ( | ||
<ul> |
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.
Let's change the ul > li to be a pure div based markup as of now!
We should address the markup with the right accessible attributes as part of a follow up PR!
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.
Sure Parsu, Will add accessible attributes in follow up PR
} | ||
} | ||
|
||
renderSelectOption(options: Array<any>) { |
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.
rename
renderSelectOption > renderSelectOptions
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.
Thanks for the suggestion i have renamed it.
/** | ||
* Placeholder to placed on the search text box. | ||
*/ | ||
@Prop() searchText = 'Search...'; |
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.
Let's remove the "..."
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 test Search... is based on the DSM spec.
renamed renderSelectOption to renderSelectOptions
Checklist:
How Has This Been Tested?