-
Notifications
You must be signed in to change notification settings - Fork 149
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
trackBy on multiple properties #57
Comments
Concatenating a string in |
Hi 👋 this issue has been automatically marked as |
Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. |
Coming back to this issue, since this could be a good improvement to the component. Maybe allow users to set similar property as Good example is search location component. There was a spelling change from Turkey to Türkiye I have a const that composes of few lodash utilties and creates an array for Multiselect. export const EUROPE_COUNTRIES = [
'Sweden',
'Türkiye',
]
export const COUNTRY_CHOICES = intersectionBy(
orderBy(
EUROPE_COUNTRIES.map((c) => {
if (c === 'Türkiye') {
return {
label: c,
value: c,
alias: ['Turkey'],
}
}
return {
label: c,
value: c,
}
}),
[(country) => country.value.toLowerCase()],
['desc']
),
'label'
) <Multiselect
v-model="location"
:options="COUNTRY_CHOICES"
searchable
placeholder="Select locations"
trackAlias="alias"
/> This might be related #314 |
Is here any update please? |
As of |
Thank you very much :) @adamberecz |
I need search capability to work with multiple properties. Can I use 'trackBy' for that? Or is there some other method?
The text was updated successfully, but these errors were encountered: