{# Money Input Component - Formatted number input with thousands separators Parameters: - id: (string) Input ID - name: (string) Input name for form submission - value: (number|string) Current value - label: (string|false) Label text, or false to hide - placeholder: (string) Placeholder text - required: (bool) Whether field is required - decimals: (bool) Allow decimal values (default: true) - class: (string) Additional CSS classes for the input - helpText: (string) Optional help text below input #} {% set input_id = id|default('') %} {% set input_name = name|default('') %} {% set input_value = value|default('') %} {% set allow_decimals = decimals|default(true) %} {% if label is not same as(false) %} {{ label|default('Amount') }}{% if required|default(false) %} *{% endif %} {% endif %}
{% if helpText|default(false) %}

{{ helpText }}

{% endif %}