abdielcs / expandedcollectionbundle Goto Github PK
View Code? Open in Web Editor NEWSymfony bundle for render entity collections as a selectable expanded list.
License: MIT License
Symfony bundle for render entity collections as a selectable expanded list.
License: MIT License
As example, I have a 3 entities, Post, Tag, PostsTags (with additional attributes). So when i display form, everything works fine. But if i sumbit form without changing data (in Sonata) i have next troubles:
As i see problem in this line
$middle = $middleRef->newInstance();
PostsTags entity always is new object.
Have you any solution for this? Thanks.
Hello
can you allow symfony 5 in composer.json ?
Add the section where this is explained:
->add(
'subscriptions',
ExpandedOTMType::class,
[
'class' => Subscription::class,
'fields' => [
['property' => '__toString', 'label' => 'Abonnement'],
'user',
['property' => 'createdAt', 'label' => 'Date', 'type' => 'dateable'],
],
'attr' => ['class' => 'table table-striped'],
'label' => false,
]
)
Again, i'll try to push some updates on my own when I'll get some time :)
Hey, just discovered this bundle and it is quite awesome ! I'm about to implement global controls for this, leaving this issue in case someone thinks about it, and I'll try to push my results here !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.