Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with class="form-control" #14

Closed
Antaro opened this issue Jan 23, 2014 · 1 comment
Closed

Problem with class="form-control" #14

Antaro opened this issue Jan 23, 2014 · 1 comment
Assignees

Comments

@Antaro
Copy link

Antaro commented Jan 23, 2014

Great work,
but how do i add a class?
Want to use it in the bootstrap enviroment with a Label and a fom-control-class.

Would it be possible instead of replacing the Input just renaming the type.
So all attributs would be still avalible, also the Events...

@javiertoledo
Copy link
Owner

I think maintaining and triggering any events you attach to the input would be a hard thing to achieve, but you could attach events to the generated html once is replaced using jQuery like explained in #10

@javiertoledo javiertoledo self-assigned this May 25, 2015
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

No branches or pull requests

2 participants