소스 검색

Merge pull request #100 from deoxxa/fix-field-documentation

corrected the documentation on form field options
Thomas 14 년 전
부모
커밋
bb4312dafc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Resources/doc/reference/form_field_definition.rst

+ 1 - 1
Resources/doc/reference/form_field_definition.rst

@@ -18,7 +18,7 @@ Example
             'author' => array('edit' => 'list'),
             'enabled',
             'title',
-            'abstract',
+            'abstract' => array('form_field_options' => array('required' => false)),
             'content',
         );