Prechádzať zdrojové kódy

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

corrected the documentation on form field options
Thomas 14 rokov pred
rodič
commit
bb4312dafc

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