File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -867,14 +867,14 @@ the choice is ultimately up to you.
867
867
868
868
In cases where you need extra fields in the form (for example: a "do you
869
869
agree with these terms" checkbox) that will not be mapped to the underlying
870
- object, you need to set the property_path option to ``false ``::
870
+ object, you need to set the `` mapped `` option to ``false ``::
871
871
872
872
use Symfony\Component\Form\FormBuilderInterface;
873
873
874
874
public function buildForm(FormBuilderInterface $builder, array $options)
875
875
{
876
876
$builder->add('task');
877
- $builder->add('dueDate', null, array('property_path ' => false));
877
+ $builder->add('dueDate', null, array('mapped ' => false));
878
878
}
879
879
880
880
Additionally, if there are any fields on the form that aren't included in
You can’t perform that action at this time.
0 commit comments