Skip to content

Commit

Permalink
Add missing widgets to registry.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jan 20, 2014
1 parent dd4f226 commit 3e20412
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/View/Input/InputRegistry.php
Expand Up @@ -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'],
];

Expand Down

0 comments on commit 3e20412

Please sign in to comment.