Skip to content
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

[Form] fix #15544 when a collection type attribute "required" is false, "prototype" should too #16959

Closed
wants to merge 3 commits into from

Conversation

HeahDude
Copy link
Contributor

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

- las test is failing when the collection is set to “required” =>
false, the prototype is required.
@Kevinrob
Copy link
Contributor

Thanks, this PR is a good fix 👍

@xabbuh
Copy link
Member

xabbuh commented Dec 15, 2015

👍 LGTM

@webmozart Can you please have a look here too? :)

@nicolas-grekas
Copy link
Member

👍

@fabpot
Copy link
Member

fabpot commented Dec 18, 2015

Thank you @HeahDude.

fabpot added a commit that referenced this pull request Dec 18, 2015
…ed" is false, "prototype" should too (HeahDude)

This PR was squashed before being merged into the 2.3 branch (closes #16959).

Discussion
----------

[Form] fix #15544 when a collection type attribute "required" is false, "prototype" should too

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

Commits
-------

b4b5d63 [Form] fix #15544 when a collection type attribute "required" is false, "prototype" should too
@fabpot fabpot closed this Dec 18, 2015
@HeahDude HeahDude deleted the bugfix-15544 branch March 24, 2016 19:12
Tobion added a commit that referenced this pull request Apr 6, 2016
This PR was merged into the 2.3 branch.

Discussion
----------

[Form] Remove unnecessary option assignment

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

Option assignment is not required because the prototype inherits this option from the parent form via standard inheritance mechanism.

Related pull requests: #16959, #18317

Commits
-------

da8a197 Remove unnecessary option assignment
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.

None yet

6 participants