-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Add support for font-awesome #49
Comments
The idea is to use this plugin with BS. However, I would think you could just overwrite the CSS classes for the calendar and clock icons |
We use it with BS - but we use font awesome as icons, not glyphicons (which is probably a quite common scenario). So a config option would be nice. The code doesn't need to change much for that. |
I haven't tried it myself, but this was in the original project You might just need to have a span with |
Yeah, i've seen that - but this only works if you have enclosed the input in a
And move the default values for |
maybe what would be better is to make |
You mean like:
Looks good to me. |
@mikehaertl check out the latest commit. There's now support for an icon's array that you can provide some to all of the icons. Default to |
You're welcome...
|
Awesome @cvsguimaraes ! |
That did it, thanks! |
previous: 'fa fa-chevron-left', |
It would be cool, if we could configure our own icons. It already seems to work, if you use the
form-group
variant. But there's no way to configure the icon if you use the icon-less variant as in Example 6.The text was updated successfully, but these errors were encountered: