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

Skip to content

[Form] Add MonthType#64227

Open
ValentinRgt wants to merge 4 commits into
symfony:8.1from
ValentinRgt:type/month-type
Open

[Form] Add MonthType#64227
ValentinRgt wants to merge 4 commits into
symfony:8.1from
ValentinRgt:type/month-type

Conversation

@ValentinRgt
Copy link
Copy Markdown

@ValentinRgt ValentinRgt commented May 16, 2026

Q A
Branch? 8.1 for features
New feature? yes
Deprecations? no
License MIT
Source MDN Input Month

This pull request introduces a new form type, MonthType, to the Symfony Form component. The MonthType extends TextType and provides a custom default invalid message for month input validation.

New form type addition:

  • Added a new MonthType class in src/Symfony/Component/Form/Extension/Core/Type/MonthType.php, which sets a default invalid message and defines its parent as TextType.

@carsonbot
Copy link
Copy Markdown

Hey!

Thanks for your PR. You are targeting branch "8.1" but it seems your PR description refers to branch "8.1 for features".
Could you update the PR description or change target branch? This helps core maintainers a lot.

Cheers!

Carsonbot

@ValentinRgt ValentinRgt changed the title [Form] Add MonthType and corresponding tests for min, max, and step attributes [Form] Add MonthType May 16, 2026
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.

2 participants