Skip to Main Content

APEX

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!

Select2 plugin - Problem with show/hide dynamic action

Mark BT52Jun 24 2015 — edited Jun 24 2015

Hi,

This is a great plugin, but when using it as a multi-select list manager it doesn't like conditional display using dynamic actions "Show" and "Hide"

Show causes the underlying LOV to be displayed before clicking on the item, should be set to display:none, but the DA causes it to display.

I can hide show it using $x_show and $x_hide,  but this doesn't include the item label...

How can I also hide the label that goes with a Select2 box?

(Incidentally it seems to work ok when you use Lazy loading, but I don't really want to do that)

Cheers

Mark

Update: Ok so I can add a class to the label and use document.getElementsByClassName('<classname>')[0].style.visibility='<hidden/visibible>';

But that seems like overkill

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 22 2015
Added on Jun 24 2015
0 comments
315 views