silverstripe-admin
silverstripe-admin copied to clipboard
Searching in DropdownField doesn't work on second word in string
Version: 4.3.x-dev
With tractorcow/silverstripe-fluent 4.2.x-dev
Description
When trying to filter the results in a DropdownField, string matching seems to only work on the first word.
Steps to reproduce
- Install fluent
- Go to create a new Locale
- Type "Australia" into the locale dropdown
Expected
- "English (Australia)" should appear as a filtered option
Actual
- No results
This can also be reproduced with "German" as the search term, where I'd expect Swiss German to show up as an option, but only strings starting with German are shown