-
Notifications
You must be signed in to change notification settings - Fork 118
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
Support for input add-ons is missing #35
Comments
The ember naming convention would make it |
The reason why I was asking that it be set with the <div class="input-append">
{{view Bootstrap.Forms.TextField valueBinding="price"}}
<span class="add-on">$</span>
</div> because To make this work, the implementation must be somewhere in |
@siovene I don't know if this would be used commonly enough to warrant adding the option. I suggest creating a custom view in your app. Off the top of my head
', '].join("\n"))' ', ',' {{view view.inputField viewName="inputField"}}', ' {{view.appendAddon}}', ' ' {{view view.errorsView}}', ' });
|
Thanks for the suggestion, I'll do that. Perhaps it's not common, but it would be nice if |
My main problem with ember-bootstrap providing it is that it would require every non-prepended input i.e. the vast majority of them to have to process whether or not they have the property. Maybe there's a better way to do it though. |
I'm closing this as it won't be implemented as proposed. |
Right now it's impossible to use input add-ons, which should render like this:
or
Please see: http://twitter.github.com/bootstrap/base-css.html#forms
I propose this syntax:
so, the addition of
append-addon
andprepend-addon
.The text was updated successfully, but these errors were encountered: