oj-select-one show all list of values in the drop down

3.4k Views Asked by At

By default oj-select-one displays only the first 15 values and then forces the user to search for remainder.

Is there a way to make oj-select-one show all values in the drop down list without having to use search ?

I tried using minimumResultsForSearch as below, this but this does not help.

    <oj-select-one id="select1"  
        options="[[dataProvider]]" 
        value="{{selectVal}}"
        minimumResultsForSearch="50"
        style="max-width:20em">
    </oj-select-one>

I am using the example in http://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=selectOne&demo=dataFiltering

1

There are 1 best solutions below

7
On BEST ANSWER

You chose the right attribute but used the wrong syntax. It should be minimum-results-for-search instead of minimumResultsForSearch

<oj-select-one id="select1"  
    options="[[dataProvider]]" 
    value="{{selectVal}}"
    minimum-results-for-search="50"
    style="max-width:20em">
</oj-select-one>