Skip to content

Disabling a Select Option doesn't completely disable it #839

Answered by cpaschen
cpaschen asked this question in Q&A
Discussion options

You must be logged in to vote

OK ... found the solution. You do have to manually 'nudge' the select object so that it refreshes with the updated changes:

mainObject.trigger("liszt:updated");

Where mainObject is the object that was programmatically changed.
i.e.

var mainObject = jQuery('#jform_fiction_categories_other');

Hope that's helpful to someone else.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by cpaschen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant