Skip to content

Commit 7d119d2

Browse files
committed
ignore the pattern attribute for textareas
1 parent 81273de commit 7d119d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Extension/AbstractBootstrap3LayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2379,7 +2379,7 @@ public function testTextarea()
23792379
$this->assertWidgetMatchesXpath($form->createView(), ['attr' => ['class' => 'my&class']],
23802380
'/textarea
23812381
[@name="name"]
2382-
[@pattern="foo"]
2382+
[not(@pattern)]
23832383
[@class="my&class form-control"]
23842384
[.="foo&bar"]
23852385
'

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"symfony/dependency-injection": "^3.4|^4.0|^5.0",
2727
"symfony/error-handler": "^4.4|^5.0",
2828
"symfony/finder": "^3.4|^4.0|^5.0",
29-
"symfony/form": "^4.3.5",
29+
"symfony/form": "^4.4.17",
3030
"symfony/http-foundation": "^4.3|^5.0",
3131
"symfony/http-kernel": "^4.4",
3232
"symfony/mime": "^4.3|^5.0",

0 commit comments

Comments
 (0)