Skip to content

Commit

Permalink
HTML5 required constraint now honors isRequired field in Field
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrowan committed Aug 14, 2012
1 parent f2b3057 commit 9a5c747
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Form/PollType.php
Expand Up @@ -152,6 +152,7 @@ public function buildForm(FormBuilder $builder, array $options)
$this->fieldTypes[$field->getType()],
array(
'label' => $field->getTitle(),
'required' => $field->isRequired(),
)
);
}
Expand Down

0 comments on commit 9a5c747

Please sign in to comment.