[BUG] Select Box search limited results
See original GitHub issueEnvironment
Using FormIO.js 4.0.3 we are seeing an issue where when you have a select box (Choices.JS) and a remote URL then start typing to locate an entry. I would expect to display all the results that match or at least a fair number (i.e up to 20). When we have tested we seem to only be getting 4 responses. Rather than a match of 10. i.e from the picture attached we have 10 teams HRH-1 to HRH-10. If I type HRH then I expect to see all 10.
- Hosting type
- [] Form.io
- [ X] Local deployment
- Version:
- Formio.js version: 4.0.3
- Browser: Safari | Chrome
{
"id": "e8gg17",
"key": "teamid",
"data": {
"url": "{$.environmentContext.referenceDataUrl}/v1/entities/team",
"json": "",
"custom": "",
"values": [],
"headers": [
{
"key": "",
"value": ""
}
],
"resource": ""
},
"sort": "",
"tags": [
"platform-data-read"
],
"type": "select",
"input": true,
"label": "Select team",
"limit": 100,
"logic": [],
"filter": "",
"hidden": false,
"prefix": "",
"suffix": "",
"unique": false,
"widget": null,
"dataSrc": "url",
"dbIndex": false,
"lockKey": true,
"overlay": {
"top": "",
"left": "",
"style": "",
"width": "",
"height": ""
},
"tooltip": "",
"disabled": false,
"lazyLoad": false,
"multiple": false,
"tabindex": "",
"template": "<span>{{ item.name }}</span>",
"validate": {
"json": "",
"custom": "",
"required": true,
"customMessage": "",
"customPrivate": false
},
"autofocus": false,
"encrypted": false,
"hideLabel": false,
"minSearch": 0,
"protected": false,
"refreshOn": "locationid",
"tableView": true,
"errorLabel": "",
"persistent": true,
"properties": {},
"validateOn": "change",
"clearOnHide": true,
"conditional": {
"eq": "",
"json": "",
"show": "",
"when": null
},
"customClass": "",
"description": "",
"fuseOptions": {
"include": "score",
"threshold": 0.3
},
"placeholder": "",
"searchField": "",
"authenticate": false,
"defaultValue": "",
"disableLimit": false,
"selectFields": "",
"selectValues": "data",
"alwaysEnabled": false,
"customOptions": {},
"labelPosition": "top",
"readOnlyValue": false,
"searchEnabled": true,
"showCharCount": false,
"showWordCount": false,
"valueProperty": "id",
"calculateValue": "",
"clearOnRefresh": true,
"searchThreshold": 0.3,
"selectThreshold": 0.3,
"customConditional": "",
"allowMultipleMasks": false,
"customDefaultValue": "",
"allowCalculateOverride": false,
"redrawOn": "",
"attributes": {
"renderChoiceLimit": "-1"
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Search Bug SharePoint Online, drop down results don't match ...
in navbar search box. Enter search term, drop down list of 5 results that appears is correct. BUT. when you click show more...
Read more >Problems with adding a search engine to your site
I'm having problems with the iframe that displays my search results. The iframe hosting option for displaying your search results is no longer...
Read more >Excel Data Validation Tips and Troubleshooting - Contextures
The videos and written steps below will help you with data validation drop down list troubleshooting in Microsoft Excel.
Read more >Create an Excel Drop Down List with Search Suggestions
So instead of using a control box to do the search, every cell in a certain column gets to search results from multi-select...
Read more ><input type="search"> - HTML: HyperText Markup Language
The values of the list attribute is the id of a <datalist> ... This allows your code to update the search results in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the info @randallknutson - This also worked for us. I did have another question to ask. It works fine now but when a we scroll to the bottom of the list it seems to “reset” the filter and shows all the records. Any thoughts or suggestions?