Переглянути джерело

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',
         );