Giter Club home page Giter Club logo

Comments (3)

github-mathieu-salles avatar github-mathieu-salles commented on June 17, 2024

A lead I have is that my editForm is a nested form :

public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add('name', 'text', array(
'label' => 'Name',
'max_length' => 255,
))
->add('target', 'targeting', array(
'cascade_validation' => true,
));
}

from liformbundle.

nacmartin avatar nacmartin commented on June 17, 2024

Aw, yes. All of this will break in Sf < 2.8, because it introduced major changes in the form component. I have been trying to do a quick fix, but it would need more work than that. As reference, this kind of work is what would be needed matthiasnoback/symfony-console-form@8554cdf#diff-4686463430e4b4932c485ab974a92154 (Note that in this case they are deprecating sf2.7, but the lines in red contain hints of what is needed to support 2.7).

from liformbundle.

nacmartin avatar nacmartin commented on June 17, 2024

After thinking, and as suggested in this PR, I have decided to not support 2.7, because it would require to maintain a complete different code base. It would be like maintaining two separate libs.

from liformbundle.

Related Issues (19)

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.