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

Enhancement: Support Input Addons (optional icons for generic inputs : text) #507

Closed
warhawk3407 opened this issue Aug 15, 2015 · 3 comments

Comments

@warhawk3407
Copy link

Hello,

I was surprised that this great micro framework doesn't support bootstrap Input group addons, as described here : http://getbootstrap.com/css/#with-optional-icons

I would be very glad to see an option in the schema in order to add some glyphicon or texts to my inputs, in order to beautify them ! :-p

I think it should be integrated in bootstrap-decorator.

By the way, nice work guys, keep it up ! 👍

I will implement angular-schema-form in my own project @warhawk3407/bgpanelv2

Best regards

@TrevorPage
Copy link

Just to check, the existing options fieldAddonLeft / fieldAddonRight don't achieve what you're referring to, do they...?

@warhawk3407
Copy link
Author

Oups, you are absolutely right @TrevorPage !!

I'm able to do what I want with : fieldAddonLeft: '<span class="glyphicon glyphicon-user">',

Thanks a lot !

This issue can now be closed.

@TrevorPage
Copy link

That's excellent. Also, in case it is of any interest, I recently did a modification to the angular-schema-form-dynamic-select library to enable support for fieldAddonLeft / fieldAddonRight on select menus, too. (As standard, you're limited to using it with just text boxes, etc.) It's just a pull request at the moment (OptimalBPM/angular-schema-form-dynamic-select#34) but the same can also be achieved by registering a custom template.

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