Browse Source

set context as default valueSource even before constructor or create() are being run

Jonas Hartmann 9 years ago
parent
commit
6bcd8a16d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/View/Helper/FormHelper.php

+ 1 - 1
src/View/Helper/FormHelper.php

@@ -210,7 +210,7 @@ class FormHelper extends Helper
      *
      *
      * @var array
      * @var array
      */
      */
-    protected $_valuesSources = [];
+    protected $_valuesSources = ['context'];
 
 
     /**
     /**
      * Construct the widgets and binds the default context providers
      * Construct the widgets and binds the default context providers