-
Notifications
You must be signed in to change notification settings - Fork 89
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(mui5):introducing isFilterCaseInSensitive prop for dual-list-select filterOption #1472
feat(mui5):introducing isFilterCaseInSensitive prop for dual-list-select filterOption #1472
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -26,6 +26,7 @@ interface InternalDualListSelectProps { | |||
filterOptionsText?: ReactNode; | |||
leftValues?: DualListSelectValue[]; | |||
rightValues?: DualListSelectValue[]; | |||
isFilterCaseInSensitive?: 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.
I would suggest to not use prop for it and set it as a default behavior.
@Hyperkid123 what do you think?
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'd go for default as well.
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.
Raising new PR: #1473, closing this one.
Raised a new one: #1473 |
Description
Please include a summary of the change.
introducing isFilterCaseInSensitive prop for dual-list-select filterOption.
isFilterCaseInSensitive : false -> Filtering would be Case sensitive, CaTs would not match with cats.
isFilterCaseInSensitive : true -> Filtering would not be Case sensitive, CaTs would match with cats.
Schema (if applicable)
export default {
"fields": [
{
"component": "customDualList",
"name": "MUI",
"isFilterCaseInSensitive":true,
"options": [
{
"value": "cats",
"label": "cats"
},
{
"value": "cats_1",
"label": "cats_1"
},
{
"value": "cats_2",
"label": "cats_2"
},
{
"value": "zebras",
"label": "zebras"
},
{
"value": "pigeons",
"label": "pigeons"
}
]
}
]
};
Checklist: (please see documentation page for more information)
Yarn build
passesYarn lint
passesYarn test
passesfix|feat({scope}): {description}
fix(pf3): wizard correctly handles next button
Fix button on documenation example page