Skip to content

Commit 8b4b9e7

Browse files
committed
[forms] Missing XML validation
1 parent f3eb2e1 commit 8b4b9e7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

book/forms.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,11 @@ number:
269269
<property name="name">
270270
<constraint name="NotBlank" />
271271
</property>
272+
<property name="price">
273+
<constraint name="Min">
274+
<value>0</value>
275+
</constraint>
276+
</property>
272277
</class>
273278
274279
.. code-block:: php-annotations

0 commit comments

Comments
 (0)