Skip to content

Limit option value in select and relations fields is limited by Vue Multiselect #3503

Open
@nestordedios

Description

@nestordedios

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions