Skip to content

[Form][Validator] Generate accept attribute with file constraint and mime types option #32587

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

Conversation

Coosos
Copy link
Contributor

@Coosos Coosos commented Jul 17, 2019

Q A
Branch? 4.4
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #29327
License MIT
Doc PR symfony/symfony-docs#...

Generate the html accept attribute based on the file constraint and mime types option.

Is it necessary to add this feature in the documentation ?

Made with @Timherlaud

Sorry I have recreated this pull request because I missed my rebase

Copy link
Member

@xabbuh xabbuh left a comment

Choose a reason for hiding this comment

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

with some last minor comments

@nicolas-grekas nicolas-grekas force-pushed the feature-file-mime-types-constraints-form branch from 92f9a86 to 5a7b737 Compare July 24, 2019 14:41
@nicolas-grekas
Copy link
Member

Thank you @Coosos.

@nicolas-grekas nicolas-grekas merged commit 5a7b737 into symfony:4.4 Jul 24, 2019
nicolas-grekas added a commit that referenced this pull request Jul 24, 2019
…constraint and mime types option (Coosos)

This PR was squashed before being merged into the 4.4 branch (closes #32587).

Discussion
----------

[Form][Validator] Generate accept attribute with file constraint and mime types option

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | yes <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes
| Fixed tickets | #29327
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

Generate the html `accept` attribute based on the file constraint and mime types option.

Is it necessary to add this feature in the documentation ?

Made with @Timherlaud

_Sorry I have recreated this pull request because I missed my rebase_

Commits
-------

5a7b737 [Form][Validator] Generate accept attribute with file constraint and mime types option
yceruto added a commit that referenced this pull request Jul 25, 2019
This PR was merged into the 4.4 branch.

Discussion
----------

Typo in variable name

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        |

Refs #32587

Commits
-------

784d1d0 Typo in variable name
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
This was referenced Nov 12, 2019
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.

6 participants