Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[TwigBridge] Update bootstrap_4_layout.html.twig missing switch-custom label#34811

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:4.4fromsabruss:patch-1
Dec 5, 2019
Merged

Conversation

sabruss
Copy link
Contributor

QA
Branch?5.0
Bug fix?yes
New feature?no
LicenseMIT

Missing .custom-control-label for bootstrap custom-switch when using .switch-custom class in label_attr

@bykclk
Copy link

I just tested this in a real project - I couldn't find bug. How to reproduce ?

@sabruss
Copy link
ContributorAuthor

for a test case:

in a FormType

->add('categories',                EntityType::class,                ['label' =>false,'required' =>false,'class' => Category::class,'expanded' =>true,'multiple' =>true,'label_attr' => ['class' =>'switch-custom']                ]            )

before
image

after
image

bykclk reacted with thumbs up emoji

Copy link

@bykclkbykclk left a comment

Choose a reason for hiding this comment

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

Nice job there! I just tested this in a real project - no missing pieces - it works great :).

@nicolas-grekasnicolas-grekas added this to the4.4 milestoneDec 4, 2019
Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

(for 4.4)

Missing custom-control-label for custom-switch
@fabpotfabpot changed the base branch frommaster to4.4December 5, 2019 05:58
@fabpot
Copy link
Member

Thank you@sabruss.

fabpot added a commit that referenced this pull requestDec 5, 2019
…witch-custom label (sabruss)This PR was submitted for the master branch but it was merged into the 4.4 branch instead (closes#34811).Discussion----------[TwigBridge] Update bootstrap_4_layout.html.twig missing switch-custom label| Q             | A| ------------- | ---| Branch?       | 5.0| Bug fix?      | yes| New feature?  | no| License       | MITMissing .custom-control-label for bootstrap custom-switch when using .switch-custom class in label_attrCommits-------9347b2e [TwigBridge] Update bootstrap_4_layout.html.twig
@fabpotfabpot merged commit9347b2e intosymfony:4.4Dec 5, 2019
This was referencedDec 19, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@nvdbeeknvdbeeknvdbeek approved these changes

@bykclkbykclkbykclk approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
4.4
Development

Successfully merging this pull request may close these issues.

6 participants
@sabruss@bykclk@fabpot@nicolas-grekas@nvdbeek@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp