According to the documentation, the default number of items shown in a valuelist is 500.
However, the .spec file for a component can also specify a maximum when defining the valuelist property and for the bootstrapcomponents-typeahead this is set to 100.
Does anyone know if there is a way to override this component setting and get the typeahead to show 500 records? Or even 1000 records which you used to be able to do by using:
This limit only applies the combobox-controls, so we navigated around it by using typeahead-fields in many places + buttons for opening a lookup-window with a search-field, since our users had a hard time searching the long lists. What kind of data do you have?
It’s just a contact list but the bootstrap-components typeahead is limiting the valuelist to 100 items and the users are used to seeing more in the list.
It’s silly really as the typeahead is a much better experience but they still want to be able to scroll the list!
If you ‘pre-load’ the value list using a query, rather than letting Servoy dynamically load it, then (I think) it overrides that limit… (I used to do this in Smart Client solutions, so can’t be sure with (Ti)NG client…
steve1376656734:
It’s just a contact list but the bootstrap-components typeahead is limiting the valuelist to 100 items and the users are used to seeing more in the list.
It’s silly really as the typeahead is a much better experience but they still want to be able to scroll the list!
Hi Steve,
I get what you are trying to achieve, but personally I never use long lists in comboboxes just because it’s to much work to find your entry by scrolling.
Like Robert mentioned, use a type-ahead and add a button next to it which will open a list picker.
The list picker can be record based and allow your users to scroll down.
Besides that you can add more advanced filter options to the listpicker which will make it easier to lookup a particular entry.