Skip to content

Commit 826ad2d

Browse files
author
Miha Vrhovnik
committed
Added currency form type and validator
1 parent d72edc8 commit 826ad2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Resources/config/form.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@
149149
<service id="form.type.reset" class="Symfony\Component\Form\Extension\Core\Type\ResetType">
150150
<tag name="form.type" alias="reset" />
151151
</service>
152+
<service id="form.type.currency" class="Symfony\Component\Form\Extension\Core\Type\CurrencyType">
153+
<tag name="form.type" alias="currency" />
154+
</service>
152155

153156
<!-- FormTypeHttpFoundationExtension -->
154157
<service id="form.type_extension.form.http_foundation" class="Symfony\Component\Form\Extension\HttpFoundation\Type\FormTypeHttpFoundationExtension">

0 commit comments

Comments
 (0)