avtonom/form-helper-error-bundle

Symfony form error message text

v1.1.5 2019-06-25 10:36 UTC

This package is not auto-updated.

Last update: 2024-11-06 13:06:29 UTC


README

Page bundle: https://github.com/Avtonom/form-helper-error-bundle

composer.phar require avtonom/form-helper-error-bundle ~1.1

Switching ~1.1 for the most recent tag.

Add the bundle to app/AppKernel.php

$bundles(
    ...
        new FormHelper\ErrorBundle\FormHelperErrorBundle(),
    ...
);

Use

Symfony 3.3.15 and translator default disabled in config.

framework:
    translator: { fallbacks: ['%locale%'] }
            
services:
    app:
        class: AppCommand
        arguments:
            - "@form.helper.error"
            
$this->formErrorHelper->getErrorsAsArray($form)

Need Help?

  1. Create an issue if you've found a bug,