You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.
Hi, I don't understand how to set a new class for the select. I'd like to have two different select styles.
Is it possible?
I tried :
var months = $('#my_month');
months.fancySelect();
var class = months.data('fancy-select2');
The text was updated successfully, but these errors were encountered:
Bit of a late answer but I just stumbled across this issue :) you simple just set a data attribute on the html itself. This will result in a wrapped div with something like <div class="fancy-select fancy-select2"> in your case <select id="my_month" data-class="fancy-select2">
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I don't understand how to set a new class for the select. I'd like to have two different select styles.
Is it possible?
I tried :
var months = $('#my_month');
months.fancySelect();
var class = months.data('fancy-select2');
The text was updated successfully, but these errors were encountered: