Skip to content

Commit 4e5dd95

Browse files
MatTheCatfabpot
authored andcommitted
1 parent 8fea6bc commit 4e5dd95

File tree

7 files changed

+0
-139
lines changed

7 files changed

+0
-139
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ CHANGELOG
1212
* Added a `ChoiceList` facade to leverage explicit choice list caching based on options
1313
* Added an `AbstractChoiceLoader` to simplify implementations and handle global optimizations
1414
* The `view_timezone` option defaults to the `model_timezone` if no `reference_date` is configured.
15-
* Added default `inputmode` attribute to Search, Email and Tel form types.
1615
* Implementing the `FormConfigInterface` without implementing the `getIsEmptyCallback()` method
1716
is deprecated. The method will be added to the interface in 6.0.
1817
* Implementing the `FormConfigBuilderInterface` without implementing the `setIsEmptyCallback()` method

Extension/Core/Type/EmailType.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
namespace Symfony\Component\Form\Extension\Core\Type;
1313

1414
use Symfony\Component\Form\AbstractType;
15-
use Symfony\Component\Form\FormInterface;
16-
use Symfony\Component\Form\FormView;
1715

1816
class EmailType extends AbstractType
1917
{
@@ -25,14 +23,6 @@ public function getParent()
2523
return TextType::class;
2624
}
2725

28-
/**
29-
* {@inheritdoc}
30-
*/
31-
public function buildView(FormView $view, FormInterface $form, array $options)
32-
{
33-
$view->vars['attr']['inputmode'] = $options['attr']['inputmode'] ?? 'email';
34-
}
35-
3626
/**
3727
* {@inheritdoc}
3828
*/

Extension/Core/Type/SearchType.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
namespace Symfony\Component\Form\Extension\Core\Type;
1313

1414
use Symfony\Component\Form\AbstractType;
15-
use Symfony\Component\Form\FormInterface;
16-
use Symfony\Component\Form\FormView;
1715

1816
class SearchType extends AbstractType
1917
{
@@ -25,14 +23,6 @@ public function getParent()
2523
return TextType::class;
2624
}
2725

28-
/**
29-
* {@inheritdoc}
30-
*/
31-
public function buildView(FormView $view, FormInterface $form, array $options)
32-
{
33-
$view->vars['attr']['inputmode'] = $options['attr']['inputmode'] ?? 'search';
34-
}
35-
3626
/**
3727
* {@inheritdoc}
3828
*/

Extension/Core/Type/TelType.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
namespace Symfony\Component\Form\Extension\Core\Type;
1313

1414
use Symfony\Component\Form\AbstractType;
15-
use Symfony\Component\Form\FormInterface;
16-
use Symfony\Component\Form\FormView;
1715

1816
class TelType extends AbstractType
1917
{
@@ -25,14 +23,6 @@ public function getParent()
2523
return TextType::class;
2624
}
2725

28-
/**
29-
* {@inheritdoc}
30-
*/
31-
public function buildView(FormView $view, FormInterface $form, array $options)
32-
{
33-
$view->vars['attr']['inputmode'] = $options['attr']['inputmode'] ?? 'tel';
34-
}
35-
3626
/**
3727
* {@inheritdoc}
3828
*/

Tests/Extension/Core/Type/EmailTypeTest.php

Lines changed: 0 additions & 36 deletions
This file was deleted.

Tests/Extension/Core/Type/SearchTypeTest.php

Lines changed: 0 additions & 36 deletions
This file was deleted.

Tests/Extension/Core/Type/TelTypeTest.php

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)