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

RepeatedType overridesmapped value for the type to work properly#13519

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

Conversation

@biozshock
Copy link
Contributor

Add a note to the documentation about overriddenmapped option for inner fields.

Copy link
Contributor

@HeahDudeHeahDude left a comment

Choose a reason for hiding this comment

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

Thanks again! Some minor comments

'second_options' => ['label' => 'Repeat Password'],
]);

..note::
Copy link
Contributor

Choose a reason for hiding this comment

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

What about line 100 instead?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

For me this is most logic place to have a note about options. I would like to have a note about this exactly at the place where documentation describes options for inner fields.

Copy link
Contributor

@HeahDudeHeahDudeApr 10, 2020
edited
Loading

Choose a reason for hiding this comment

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

I think this information is too important and should be shown before any options. This is needed in order to handle validation, and the line I linked is about that section.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Okay. Done.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks, I leave that one open for now.

@biozshockbiozshockforce-pushed therepeated-type_not-mapped-inner branch from6bc157f to94980d2CompareApril 10, 2020 18:46
@biozshockbiozshockforce-pushed therepeated-type_not-mapped-inner branch from94980d2 tob29335aCompareApril 10, 2020 19:26
@HeahDude
Copy link
Contributor

Side note: we should wait next patch of 3.4 before merging here.

@HeahDudeHeahDude added Waiting Code MergeDocs for features pending to be merged and removed Status: Needs Review labelsApr 11, 2020
nicolas-grekas added a commit to symfony/symfony that referenced this pull requestApr 13, 2020
…(biozshock)This PR was merged into the 3.4 branch.Discussion----------[Form] RepeatedType should always have inner types mapped| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Doc PR|symfony/symfony-docs#13519 || Tickets       |Fix#36410| License       | MITAlways set mapped=true to override inner type mapped setting.Throw an exception if inner types of RepeatedType has mapped=falseCommits-------728cd66 RepeatedType should always have inner types mapped
symfony-splitter pushed a commit to symfony/form that referenced this pull requestApr 13, 2020
…(biozshock)This PR was merged into the 3.4 branch.Discussion----------[Form] RepeatedType should always have inner types mapped| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Doc PR|symfony/symfony-docs#13519 || Tickets       | Fix #36410| License       | MITAlways set mapped=true to override inner type mapped setting.Throw an exception if inner types of RepeatedType has mapped=falseCommits-------728cd66a13 RepeatedType should always have inner types mapped
@javiereguiluzjaviereguiluz added Status: Reviewed and removed Waiting Code MergeDocs for features pending to be merged labelsSep 25, 2020
@javiereguiluz
Copy link
Member

Thank you Artem.

biozshock reacted with thumbs up emoji

@javiereguiluzjaviereguiluz merged commitc0fb447 intosymfony:3.4Sep 25, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@xabbuhxabbuhAwaiting requested review from xabbuhxabbuh is a code owner

1 more reviewer

@HeahDudeHeahDudeHeahDude left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

4 participants

@biozshock@HeahDude@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp