Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d933fa1

Browse filesBrowse files
MatTheCatfabpot
MatTheCat
authored andcommitted
Revert #34986
1 parent 6314732 commit d933fa1
Copy full SHA for d933fa1

File tree

7 files changed

+0
-139
lines changed
Filter options

7 files changed

+0
-139
lines changed

‎src/Symfony/Component/Form/CHANGELOG.md

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/CHANGELOG.md
-1Lines 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

‎src/Symfony/Component/Form/Extension/Core/Type/EmailType.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Core/Type/EmailType.php
-10Lines 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
*/

‎src/Symfony/Component/Form/Extension/Core/Type/SearchType.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Core/Type/SearchType.php
-10Lines 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
*/

‎src/Symfony/Component/Form/Extension/Core/Type/TelType.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Core/Type/TelType.php
-10Lines 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
*/

‎src/Symfony/Component/Form/Tests/Extension/Core/Type/EmailTypeTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/Type/EmailTypeTest.php
-36Lines changed: 0 additions & 36 deletions
This file was deleted.

‎src/Symfony/Component/Form/Tests/Extension/Core/Type/SearchTypeTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/Type/SearchTypeTest.php
-36Lines changed: 0 additions & 36 deletions
This file was deleted.

‎src/Symfony/Component/Form/Tests/Extension/Core/Type/TelTypeTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/Type/TelTypeTest.php
-36Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.