Skip to content

[Form] repeat preferred choices in list of all choices #32658

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 2 commits into from
Jul 24, 2019

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Jul 22, 2019

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

@Seb33300
Copy link
Contributor

See #23690

@xabbuh
Copy link
Member Author

xabbuh commented Jul 22, 2019

@Seb33300 I have now cherry-picked your commit from #23690 and updated the tests. Thank you for the initial work on it.

@xabbuh
Copy link
Member Author

xabbuh commented Jul 22, 2019

deps=high jobs will pass once the changes are in master

@Seb33300
Copy link
Contributor

Maybe I misunderstood but if I didn't fixed the test on my previous PR it's because regarding the comments I thought we had to introduce this as a new optional feature (with a new option).

But maybe I am wrong

@xabbuh
Copy link
Member Author

xabbuh commented Jul 23, 2019

@Seb33300 I think we should revisit the decision made back then. This only improves the rendering. Adding an extra option for this seems to be unneeded complexity.

@nicolas-grekas
Copy link
Member

Back then the PR was not completed, so we didn't make any decision :)

@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit 475c7a4 into symfony:4.4 Jul 24, 2019
nicolas-grekas added a commit that referenced this pull request Jul 24, 2019
… (Seb33300, xabbuh)

This PR was merged into the 4.4 branch.

Discussion
----------

[Form] repeat preferred choices in list of all choices

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

Commits
-------

475c7a4 adapt tests
b946b11 [Form] Repeat preferred choices in the main list
@xabbuh xabbuh deleted the issue-10271 branch July 24, 2019 14:49
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
This was referenced Nov 12, 2019
fabpot added a commit that referenced this pull request Oct 5, 2023
…oiceType` (arnaud-deabreu)

This PR was merged into the 6.4 branch.

Discussion
----------

[Form] Add `duplicate_preferred_choices` option to `ChoiceType`

| Q             | A
| ------------- | ---
| Branch?       | 6.4
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | Fix #35135
| License       | MIT
| Doc PR        | TODO

I've reintroduced layout tests as they were before #32658, is that enough? /cc `@xabbuh` :)
Thanks `@HeahDude` for your mentoring!

Commits
-------

df00a5f [Form] Add `duplicate_preferred_choices` option to `ChoiceType`
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.

4 participants