Permalink
Browse files

Add missing widgets to registry.

  • Loading branch information...
1 parent dd4f226 commit 3e20412d588ab0ee38190733042b13d7080a8aa4 @markstory markstory committed Jan 20, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/View/Input/InputRegistry.php
@@ -40,11 +40,14 @@ class InputRegistry {
* @var array
*/
protected $_widgets = [
+ 'button' => ['Cake\View\Input\Button'],
'checkbox' => ['Cake\View\Input\Checkbox'],
+ 'file' => ['Cake\View\Input\File'],
'label' => ['Cake\View\Input\Label'],
'multicheckbox' => ['Cake\View\Input\MultiCheckbox', 'label'],
'radio' => ['Cake\View\Input\Radio', 'label'],
'select' => ['Cake\View\Input\SelectBox'],
+ 'textarea' => ['Cake\View\Input\Textarea'],
'_default' => ['Cake\View\Input\Basic'],
];

0 comments on commit 3e20412

Please sign in to comment.