Skip to content
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

ListItemPicker could use a substring search instead of just startswith #583

Closed
joeljeffery opened this issue Jun 13, 2020 · 2 comments
Closed
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:enhancement New feature or enhancement of existing capability
Milestone

Comments

@joeljeffery
Copy link
Contributor

Category

[X] Enhancement

[ ] Bug

[ ] Question

Version

Please specify what version of the library you are using: [1.18.0]

Expected / Desired Behavior / Question

I'd like the option of finding List Items in picker as a substring search rather than just starts-with.

Observed Behavior

Users need to know exactly how an item in the target list starts in order to find it. This is only feasible for some use cases.

Steps to Reproduce

Create a List with many items with very different titles. Maybe all the city names in your country. Or dog breeds. Or cheeses. I'm pretty sure there's some CSVs of those somewhere 😉. Create a List with a lookup column into the first list. Build a test app/web part or something to use the ListItemPicker control on the lookup field.

Try and find a city/dog/cheese :)

Now, wouldn't that be better with a substring search?

You betcha.

Joel Jeffery
w:joelblogs.co.uk
t:@joelblogs

@ghost
Copy link

ghost commented Jun 13, 2020

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label Jun 13, 2020
@AJIXuMuK AJIXuMuK added status:fixed-next-drop Issue will be fixed in upcoming release. type:enhancement New feature or enhancement of existing capability and removed Needs: Triage 🔍 labels Jul 7, 2020
@AJIXuMuK AJIXuMuK added this to the 1.20.0 milestone Jul 7, 2020
@AJIXuMuK
Copy link
Collaborator

AJIXuMuK commented Jul 7, 2020

Thank you @joeljeffery for both proposing a change and implementing it!

This functionality will be available in the next release.

In a meanwhile you can test in in beta version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:enhancement New feature or enhancement of existing capability
Projects
None yet
Development

No branches or pull requests

2 participants