From 3e20412d588ab0ee38190733042b13d7080a8aa4 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 19 Jan 2014 22:23:49 -0500 Subject: [PATCH] Add missing widgets to registry. --- src/View/Input/InputRegistry.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/View/Input/InputRegistry.php b/src/View/Input/InputRegistry.php index 1b0b2873ec1..85cd3d1b071 100644 --- a/src/View/Input/InputRegistry.php +++ b/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'], ];