Skip to content

Commit e47fa90

Browse files
committed
Updated getName() to return with app_ prefix
1 parent 716a4f2 commit e47fa90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/form/create_custom_field_type.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ for form fields, which is ``<BundleName>\Form\Type``. Make sure the field extend
4545

4646
public function getName()
4747
{
48-
return 'gender';
48+
return 'app_gender';
4949
}
5050
}
5151

0 commit comments

Comments
 (0)