Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

alexandre-daubois
Copy link
Member

Q A
Branch? 7.2
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

Underlying mechanisms support integers for the calendar, so integers should be allowed in the form type option.

Spotted by @stof in #57960 (comment)

@nicolas-grekas
Copy link
Member

Thank you @alexandre-daubois.

@nicolas-grekas nicolas-grekas merged commit 59ceb58 into symfony:7.2 Nov 27, 2024
9 of 10 checks passed
@fabpot fabpot mentioned this pull request Nov 29, 2024
javiereguiluz added a commit to symfony/symfony-docs that referenced this pull request Dec 2, 2024
…e` (MrYamous)

This PR was merged into the 7.2 branch.

Discussion
----------

[Form] Allow integer for the calendar option of `DateType`

Completes #20145 after [code PR](symfony/symfony#59014)

Commits
-------

2083dc2 Allow integer for the calendar option of DateType
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.

5 participants