Skip to content

probable CSS rendering bug with disable/enable #163

@badulesia

Description

@badulesia

Hello.
I'm using disable and enable, and it seems that there is a CSS rendering bug.

At page load, I use an empty and disabled select
<SELECT id='menu_place' size=5 disabled></SELECT>
js
$('#menu_place').selectBoxIt({ defaultText:'some string' });

The select is populated by a function triggered after choosing in another select menu. It contains:
$('#menu_place').data("selectBox-selectBoxIt").remove(); $("#menu_place").data("selectBox-selectBoxIt").add(data); $("#menu_place").data("selectBox-selectBoxIt").enable();

data are some json. Previous options are removed, new ones are added, and the menu is active and works. BUT, it is still rendered as disabled-like.
I suppose that selectboxit js applies some CSS to render the box disabled or enabled: can you check if something is wrong ? some kind of a CSS opacity not set back to 1 when enabling.
If the function is triggered a second time, than the menu is rendering enabled-like.

PS : all is included in a jquery UI accordion.

Thank you

disablebug

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions