Skip to content

Commit

Permalink
add constraint for host field fix sonata-project#491
Browse files Browse the repository at this point in the history
  • Loading branch information
symfou committed Oct 2, 2016
1 parent c1cfa5f commit deead05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Resources/config/validation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
</option>
</constraint>
</property>
<property name="host">
<constraint name="NotNull"/>
</property>
<property name="position">
<constraint name="NotNull"/>
</property>
Expand Down

0 comments on commit deead05

Please sign in to comment.