diff --git a/src/Form/AddressType.php b/src/Form/AddressType.php index da27a71..c54a331 100644 --- a/src/Form/AddressType.php +++ b/src/Form/AddressType.php @@ -21,7 +21,7 @@ class AddressType extends AbstractType 'required' => $options['required'], 'sanitize_html' => true, 'attr' => [ - 'autocomplete' => 'off', + 'autocomplete' => 'leave-me-alone-chrome', ], ]) ->add('postCode', TextType::class, [ @@ -29,7 +29,7 @@ class AddressType extends AbstractType 'required' => $options['required'], 'sanitize_html' => true, 'attr' => [ - 'autocomplete' => 'off', + 'autocomplete' => 'leave-me-alone-chrome', ], ]) ->add('city', TextType::class, [ @@ -37,7 +37,7 @@ class AddressType extends AbstractType 'required' => $options['required'], 'sanitize_html' => true, 'attr' => [ - 'autocomplete' => 'off', + 'autocomplete' => 'leave-me-alone-chrome', ], ]) ->add('country', CountryType::class, [ diff --git a/src/Form/BookingParticipantType.php b/src/Form/BookingParticipantType.php index 59a2571..174fab2 100644 --- a/src/Form/BookingParticipantType.php +++ b/src/Form/BookingParticipantType.php @@ -169,7 +169,7 @@ class BookingParticipantType extends AbstractType 'sanitize_html' => true, 'property_path' => 'participant.firstName', 'attr' => [ - 'autocomplete' => 'off', + 'autocomplete' => 'leave-me-alone-chrome', ], ], $getFieldState('firstName'))); } @@ -180,7 +180,7 @@ class BookingParticipantType extends AbstractType 'sanitize_html' => true, 'property_path' => 'participant.lastName', 'attr' => [ - 'autocomplete' => 'off', + 'autocomplete' => 'leave-me-alone-chrome', ], ], $getFieldState('lastName'))); } @@ -223,7 +223,7 @@ class BookingParticipantType extends AbstractType 'label' => 'E-Mail', 'property_path' => 'participant.email', 'attr' => [ - 'autocomplete' => 'off', + 'autocomplete' => 'leave-me-alone-chrome', ], ], $getFieldState('email'))); } @@ -235,7 +235,7 @@ class BookingParticipantType extends AbstractType 'sanitize_html' => true, 'property_path' => 'participant.mobile', 'attr' => [ - 'autocomplete' => 'off', + 'autocomplete' => 'leave-me-alone-chrome', ], ], $getFieldState('mobile'))); }