Skip to content

fix custom radios/inputs for checkbox/radio type #26254

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

Merged
merged 1 commit into from
Feb 21, 2018

Conversation

mssimi
Copy link
Contributor

@mssimi mssimi commented Feb 21, 2018

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass?
Fixed tickets #25715
License MIT
Doc PR

Hey, I tried new changes in bootstrap 4 layout. Unfortunatelly custom-radios/checkboxes seems to work only for ChoiceType/EntityType but not for CheckboxType/RadioType. I added changes which I belive fix this issue.

@nicolas-grekas
Copy link
Member

ping @mpiot @Nyholm for review :)

@mpiot
Copy link
Contributor

mpiot commented Feb 21, 2018

It's ok for me :)

@Nyholm
Copy link
Member

Nyholm commented Feb 21, 2018

Excellent Marek. Thank you.

Could you make a small update PR to the from here: https://github.com/Nyholm/symfony-bootstrap-form/blob/master/src/Form/SuperFormType.php

I want to see the difference of the output.

@mssimi
Copy link
Contributor Author

mssimi commented Feb 21, 2018

@Nyholm that form is shared with several css frameworks, this feature is specific for bootstrap 4, should I rly submit PR?

@Nyholm
Copy link
Member

Nyholm commented Feb 21, 2018

Yes please. Im not really sure what a custom radio is to be honest.

@mpiot
Copy link
Contributor

mpiot commented Feb 21, 2018 via email

Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. Thanks. 👍

@fabpot
Copy link
Member

fabpot commented Feb 21, 2018

Thank you @mssimi.

@fabpot fabpot merged commit dd6d1dd into symfony:3.4 Feb 21, 2018
fabpot added a commit that referenced this pull request Feb 21, 2018
This PR was merged into the 3.4 branch.

Discussion
----------

fix custom radios/inputs for checkbox/radio type

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   |
| Fixed tickets | #25715
| License       | MIT
| Doc PR        |

Hey, I tried new changes in bootstrap 4 layout. Unfortunatelly custom-radios/checkboxes seems to work only for ChoiceType/EntityType but not for CheckboxType/RadioType. I added changes which I belive fix this issue.

Commits
-------

dd6d1dd fix custom radios/inputs for checkbox/radio type
This was referenced Mar 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants