this should works,
$builder ->add('select','choice',array( 'multiple'=>false, 'expanded'=>true, 'choices' => array('0'=>'form.search.label.all','1' => 'form.search.label.select','2'=>'form.search.label.unselect'), 'required' => false,))this also:
$builder->add('givenTakenEmail','email', array('label' => 'overview.marker.new.given_taken_email', 'read_only' => $readOnly, 'required' => true,) );
评论
发表评论