Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

oj-select-single prevent it from popping up a search type list?

User_IPNT8Feb 26 2020 — edited Feb 27 2020

Hi,

I am trying to convert my old oj-select-ones over to oj-select-singles because the select-ones are deprecated. The select-ones were working great for what I needed them for as I have some very basic static dropdowns with only a few values.

When I convert them oj-select-single I can get the functionality working by adding my values to an array, etc. However, when using the JET application and you click into the select-single it opens up and covers the entire screen and provides the search/filter capabiity. I really just need it to present the dropdown inline like the cookbook examples. I have followed the code exactly.

My only difference seems to be that I am using the android theme when serving the application. Is there a way to hopefully override this behavior? It's very useful for a drop down with tonnes of data in it, but in instances where there are only 3 or 4 options its not a great experience for the user.

Example of behaviour when clicking in the select-single:

FullScreen.JPG

Example of select-one behaviour:

SelectOne.JPG

Code I am using:

<oj-select-single id="prioritySelect" aria-labelledby='priorityLabel' value="{{priorityFilter}}"

data="[[selectPriorityDP]]" style="max-width:20em;" disabled="[[callNumberEntered]]">

Comments
Post Details
Added on Feb 26 2020
13 comments
680 views