It sounds like you're approaching the problem in the wrong way. If you're
trying to disable some part of the validation, that says to be that there's
either a problem with how you're building the Entity behind the form, or
some problem with your object model.

Maybe if you could give more info on your object model, and the use case of
the form, along with the reason why you think it's necessary to disable this
part of the validation; someone can help.

On Sun, May 8, 2011 at 7:05 AM, elcabong <elcabong....@gmail.com> wrote:

> How disable validation inherit parent?
>
> When I use Entity Type Form, example:
>
> class ParceiroType extends AbstractType {
>
>    public function buildForm(FormBuilder $builder, array $options)
>    {
>
>            $builder->add('cidade', 'entity', array(
>               'class' => 'MCP\AdminBundle\Entity\Cidade',
>               'required' =>true,
>               'property' => 'nome',
>            ));
>
>            .....
>    }
>
>
>
> This property inherit parent validation, unique constraits??
>
> How disable validation inherit parent?
>
> There is something???
>
> Tanks
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to