update CartAdd form
This commit is contained in:
@@ -84,7 +84,7 @@ class CartAdd extends BaseForm
|
|||||||
"required" => true
|
"required" => true
|
||||||
|
|
||||||
))
|
))
|
||||||
->add("quantity", "text", array(
|
->add("quantity", "number", array(
|
||||||
"constraints" => array(
|
"constraints" => array(
|
||||||
new Constraints\NotBlank(),
|
new Constraints\NotBlank(),
|
||||||
new Constraints\Callback(array("methods" => array(
|
new Constraints\Callback(array("methods" => array(
|
||||||
|
|||||||
Reference in New Issue
Block a user