Programmatically change radiobutton/checkbox doesn't work when using Flat-UI CSS #133

Closed
sergiomajluf opened this Issue Apr 20, 2014 · 2 comments

Comments

Projects
None yet
3 participants

I have a form that can be used to create and/or update elements on a page (third party API), so the same form is reset/emptied once the user no longer interacts with it.

Resetting inputs, checkboxes and radios work OK until I add the flat-ui css.

I can actually still include js files for checkbox and radios and they won't conflict. It's just the css that prevents the change.

This demo page shows what I mean. Just select any element on the timeline, and the form will be populated with data:

Not sure if this is a bug or if I'm doing something wrong though.

just trigger a click on it
$('.checkbox').each(function () { var $checkbox = $(this); $checkbox.trigger('click'); });

Contributor

andrew-ml commented Oct 7, 2014

Hi, everyone,
we've rewritten checkbox/radio component, please check it out.

andrew-ml closed this Oct 7, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment