Having the option limit set to a value greater than 500 will not display more than 500 items on a select or relationship field.
Apparently there are some limitations in the Vue Multiselect library as i could find in this issue shentao/vue-multiselect#123.
It looks like when having long lists (+500 items) the functionality needs to be adjusted for being able to retrieve all values. Making use of their asynchronous select https://vue-multiselect.js.org/#sub-asynchronous-select
Details
| Question |
Answer |
| Relevant Bolt Version |
5.2 |
| Install type |
Composer install |
| PHP version |
8.2 |
| Web server |
Symfony local server |
Reproduction
Add the limit option limit: 600 to a relationship field with more than 500 records. This setup should display 600 records or less in the relationship select field, but only 500 are shown.
Expected result
600 records are displayed in the relationship select field
Actual result
A maximum of 500 records are displayed in the relationship select field
Having the option
limitset to a value greater than 500 will not display more than 500 items on a select or relationship field.Apparently there are some limitations in the Vue Multiselect library as i could find in this issue shentao/vue-multiselect#123.
It looks like when having long lists (+500 items) the functionality needs to be adjusted for being able to retrieve all values. Making use of their asynchronous select https://vue-multiselect.js.org/#sub-asynchronous-select
Details
Reproduction
Add the
limitoptionlimit: 600to a relationship field with more than 500 records. This setup should display 600 records or less in the relationship select field, but only 500 are shown.Expected result
600 records are displayed in the relationship select field
Actual result
A maximum of 500 records are displayed in the relationship select field