-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Add input to ngbRadioGroup for allowing vertical group #1231
Comments
Why not. PRs welcomed - this should be rather simple change. |
@pkozlowski-opensource What do you think would be better?
|
@dmytroyarmak my preference would go to (1) or (2a). Not sure which of the 2 is better. Here are pros / cons for (1):
If you take (2a) pros / cons are pretty much reversed as compared to (1).... What would be your pick? |
@pkozlowski-opensource |
@dmytroyarmak let's do it! Fancy putting together a PR? |
@pkozlowski-opensource yeah, I'll do a PR later today. |
Update: I've decided to rather go with the option (1) from #1231 (comment) In addition to the mentioned "pros" it will keep radio and checkboxes implementation consistent. |
Closes ng-bootstrap#1231 Closes ng-bootstrap#1238 BREAKING CHANGE: The `btn-group` CSS class needs to added explicitly for radio buttons. Before: ``` <div ngbRadioGroup ...> ... </div> ``` After: ``` <div class="btn-group" ngbRadioGroup ...> ... </div> ``` Closes ng-bootstrap#1733
It would be nice to specify whether we want it to be a
.btn-group
or abtn-vertical-group
馃槃The text was updated successfully, but these errors were encountered: