The Symfony MoneyType Field renders as input type=\"text\"
which allows a user to type whatever they want into the field.
How can I override this to ren
You should be able to override the default field template:
{%- block form_widget_simple -%}
{%- set type = type|default('text') -%}
{%- endblock form_widget_simple -%}
.... other templates ....
{%- block money_widget -%}
{{ money_pattern|replace({ '{{ widget }}': block('form_widget_simple') })|raw }}
{%- endblock money_widget -%}
by
{%- block money_widget -%}
{%- endblock money_widget -%}
In a custom template definition
app/Resources/views/form/fields.html.twig
For more information about how to override fields templates see this doc:
http://symfony.com/doc/current/cookbook/form/form_customization.html#method-2-inside-a-separate-template