Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add missing widgets to registry.

  • Loading branch information...
commit 3e20412d588ab0ee38190733042b13d7080a8aa4 1 parent dd4f226
@markstory markstory authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/View/Input/InputRegistry.php
View
3  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'],
];
Please sign in to comment.
Something went wrong with that request. Please try again.