Skip to main content

Formats settings

Global formats should be defined under formats parameter. Later all formats are available as helpers in global application state (expression context)

Example configuration

formats:
  date:
    format: "DD/MM/YYYY"
  number:
    decimalSeparator: "."
    thousandsSeparator: ","
    precision: 2
  currency:
    format: "%u%n"
    unit: "£"
  phone:
    countryCode: "+44"
    mask: "9999 999999"