Permalink
Browse files

Input type of image should not have attribute value

  • Loading branch information...
postalservice14 committed Sep 11, 2012
1 parent e5167b7 commit f95d32e3c7667a44ad4405a1301ea7b0297795d8
@@ -39,7 +39,6 @@ class FormImage extends FormInput
'height' => true,
'src' => true,
'type' => true,
- 'value' => true,
'width' => true,
);
@@ -92,7 +92,7 @@ public function validAttributes()
array('size', 'assertNotContains'),
array('src', 'assertContains'),
array('step', 'assertNotContains'),
- array('value', 'assertContains'),
+ array('value', 'assertNotContains'),
array('width', 'assertContains'),
);
}

0 comments on commit f95d32e

Please sign in to comment.