Coder Social home page Coder Social logo

formgeneratorbundle's People

Contributors

dbollaer avatar krzysztofmoskalik avatar malarzm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

formgeneratorbundle's Issues

Request change createFormBuilder to allow options array to disable csrf_protection for specific forms

Hello,

I was wondering if you change this codes to allow options to be passed using the form builder.
It would allow me to disable csrf_protection when needed.

     * Creates FormBuilder and populates it.
     *
     * @param object $model data object
     * @param string $form view to generate
     * @param array $context
     * @param array $options
     * @return FormBuilderInterface
     */
    public function createFormBuilder($model, $form = 'default', $context = [], $options=[])
    {
        $fb = $this->formFactory->createBuilder(FieldTypeMapper::map('form'), $model, $options);

        $this->populateFormBuilder($fb, $model, $form, $context);
        return $fb;
    }

It worked for me locally. If you want I can make a pull request. If their guidelines for me to follow please provide me a link.

Thank you in advance.
Danny

form validation

It would be nice if the form validation will be integrated/documented.

Double rendering labels embedded Forms

Hello,
When I render a form which contains embedded forms.
My labels are rendered twice.
Onces for the Embed form(first) and once for the Display form(second).
Please advise how I can make a unit test for this, so I can help solve it.

Kind regards,
Danny

Bump Symfony to 3.4

3.4 will be next LTS version. Along with the PR the BC layer for translating form types should be dropped.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.