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

[Form] Fixed ChoiceType trim option#9598

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
wouterj merged 5 commits intosymfony:2.7fromHeahDude:choice-trim
May 8, 2018

Conversation

@HeahDude
Copy link
Contributor

@HeahDudeHeahDude changed the titleFixed ChoiceType trim option[Form] Fixed ChoiceType trim optionApr 15, 2018
fabpot added a commit to symfony/symfony that referenced this pull requestApr 16, 2018
This PR was merged into the 2.7 branch.Discussion----------[Form] Fixed trimming choice values| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#24247,#24712| License       | MIT| Doc PR        |symfony/symfony-docs#9598Follows#24712 discussion.Commits-------00cdf5e [Form] Fixed trimming choice values
Copy link
Member

@javiereguiluzjaviereguiluz left a comment

Choose a reason for hiding this comment

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

Nice! Thanks Jules.

@HeahDude
Copy link
ContributorAuthor

HeahDude commentedApr 18, 2018
edited
Loading

Thank you for the rewording 👍

the parent field (the form in most cases).

trim
~~~~
Copy link
Member

Choose a reason for hiding this comment

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

I think we should move the description to its own file to be able to reuse it in other form types. This is currently missing in some documents (see the failing build).

@wouterj
Copy link
Member

Ping@HeahDude can you please fix this PR according@xabbuh's comment?

| Overridden| - `compound`_|
| options| - `empty_data`_|
|| - `error_bubbling`_|
|| - `choice_type_trim`_|
Copy link
Member

Choose a reason for hiding this comment

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

here we would still have to usetrim

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Was not sure ^^. Fixed, thanks!

**type**: ``boolean``**default**: ``false``

Trimming is disabled by default because the selected valueor values must match
the given choice valuesexactly (and they could contain white spaces).
Copy link
Member

Choose a reason for hiding this comment

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

"whitespaces" (without the space)?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Agreed, fixed. Thanks again!

@wouterj
Copy link
Member

Thanks Jules.

@wouterjwouterj merged commit2dd6c56 intosymfony:2.7May 8, 2018
wouterj added a commit that referenced this pull requestMay 8, 2018
…uiluz)This PR was merged into the 2.7 branch.Discussion----------[Form] Fixed ChoiceType trim optionRefsymfony/symfony#26932.Commits-------2dd6c56 fixup typo360066d fixup option links6631665 fixup@xabbuh's comment proper choice type trim file8bfa059 Rewordbbca3b0 [Form] Fixed ChoiceType trim option
@HeahDudeHeahDude deleted the choice-trim branchMay 15, 2018 07:21
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@javiereguiluzjaviereguiluzjaviereguiluz approved these changes

@xabbuhxabbuhxabbuh approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

2.7

Development

Successfully merging this pull request may close these issues.

5 participants

@HeahDude@wouterj@javiereguiluz@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp