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

update form types documentation - fix #4397 (#4399)

replace empty_value by placeholder in form definition
Samuel Laulhau 8 роки тому
батько
коміт
2c81f087cd
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      Resources/doc/reference/form_types.rst

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

@@ -357,7 +357,7 @@ According the choice made only associated fields are displayed. The others field
                         'route' => array('route', 'parameters'),
                         'uri' => array('uri'),
                     ),
-                    'empty_value' => 'Choose an option',
+                    'placeholder' => 'Choose an option',
                     'required' => false
                 ))
                 ->add('route', 'text')