Display flexberry-error, the use of t-helpers (localization)

flexberry-error is a component which displays in the» «friendly user error message.

Umolchaniuto display error messages to the modal window, this behavior can be changed by specifying a component parameter with a value of modal false:


{{flexberry-error
    error=error
    modal=false}}

In this case, the display error will be used the components of ui-message.

If the error object has a property» «messageLocaleKey then to display it use» «t-helper, ie you can add localizations for these messages. If the error object has a property» «errors like array, the component loops through its elements and displays all component flexberry-toggler.