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

Attach Filters to Fields #19

Open
3 tasks
rdohms opened this issue Mar 24, 2014 · 0 comments
Open
3 tasks

Attach Filters to Fields #19

rdohms opened this issue Mar 24, 2014 · 0 comments
Labels
feature New feature or request

Comments

@rdohms
Copy link
Owner

rdohms commented Mar 24, 2014

As described in #18, validations attached directly to fields are processed against Form (array) data, not the resolved entity, so the filters do not affect the data.

The alternate solution here would be to add the possibility of attaching filters to the fields, so that they would act directly on the form data for non-entity forms. This would be similar to the constraints option.

Some research points to make this viable:

  • does altering the form data ensure the same data is pushed along?
  • how does this play with entity forms, are the effect seen on the final entity?
  • what hook points does symfony provide for this

This is strictly on the Symfony side, so any solutions should be restricted to this bundle, not the underlying library.

@rdohms rdohms added this to the 2.0.0 milestone Mar 24, 2014
@rdohms rdohms added the feature label Mar 24, 2014
@rdohms rdohms removed this from the 2.0.0 milestone Apr 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant