#1353 Placeholder für die ChoiceTypes der Geschlechter entfernt
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3346 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
331a24eef2
commit
a905e78d9c
3 changed files with 3 additions and 3 deletions
|
|
@ -108,7 +108,7 @@ class BookingRequestType extends AbstractType
|
||||||
|
|
||||||
$builder
|
$builder
|
||||||
->add('salutation', ChoiceType::class, [
|
->add('salutation', ChoiceType::class, [
|
||||||
'placeholder' => 'Anrede (Bitte wählen) *',
|
//'placeholder' => 'Anrede (Bitte wählen) *',
|
||||||
'choices' => self::$SALUTATION_CHOICES,
|
'choices' => self::$SALUTATION_CHOICES,
|
||||||
'constraints' => [
|
'constraints' => [
|
||||||
new NotNull(),
|
new NotNull(),
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ class TravelerType extends AbstractType
|
||||||
{
|
{
|
||||||
$builder
|
$builder
|
||||||
->add('sex', ChoiceType::class, [
|
->add('sex', ChoiceType::class, [
|
||||||
'placeholder' => 'Geschlecht (Bitte wählen) *',
|
//'placeholder' => 'Geschlecht (Bitte wählen) *',
|
||||||
'choices' => self::$SEX_CHOICES,
|
'choices' => self::$SEX_CHOICES,
|
||||||
'constraints' => [
|
'constraints' => [
|
||||||
new Choice(['choices' => self::$SEX_CHOICES])
|
new Choice(['choices' => self::$SEX_CHOICES])
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
namespace AppBundle\Validator\Constraints;
|
namespace AppBundle\Validator\Constraints;
|
||||||
|
|
||||||
//use AppBundle\Entity\BookingRequest;
|
use AppBundle\Entity\BookingRequest;
|
||||||
use AppBundle\Entity\TravelDate;
|
use AppBundle\Entity\TravelDate;
|
||||||
use AppBundle\Entity\TravelProgram;
|
use AppBundle\Entity\TravelProgram;
|
||||||
use AppBundle\Form\BookingRequestType;
|
use AppBundle\Form\BookingRequestType;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue