Skip to content

Conversation

@jfinstrom
Copy link

Add the ability to pass "selectClass" for the inputs. This allows people to pass things like "form-control" in Bootstrap so the selects match other site formatting.

Example:

$(document).ready(function() {
    $('#cron').cron({'selectClass':'form-control'}); // apply cron with default options
});

html

<div id="cron" class="form-inline"></div>

Note bootstrap makes all inputs 100% and assumes a vertical layout. Adding "form-inline" gives the horizontal layout used by jquery-cron

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant