gregwar / formbundle Goto Github PK
View Code? Open in Web Editor NEWProvides the "entity_id" type (read "entity identifier")
License: MIT License
Provides the "entity_id" type (read "entity identifier")
License: MIT License
Hello
Is it compatible with 3.0 version of symfony ?
Thanks in advance.
Could you please tag a release ? There is no 2.7 - compatible release yet.
Is it possible to tag a stable release?
I have this fatal error after symfony vendor upgrade, trying to use "entity_id" :
FatalErrorException: Error: Class 'Symfony\Component\Form\Util\PropertyPath' not found in vendor/gregwar/form-bundle/Gregwar/FormBundle/DataTransformer/EntityToIdTransformer.php line 85
PropertyPath class is apparently deprecated.
Not a bug, but something I've been dealing with and like to discuss.
The 'property' option of the 'entity_id' type is currently a setting to use another property instead of the primary key. This is inconsistent with the implementation of the 'entity' type (thus confusing).
http://symfony.com/doc/current/reference/forms/types/entity.html#property
"This is the property that should be used for displaying the entities as text in the HTML element. If left blank, the entity object will be cast into a string and so must have a __toString() method."
Wouldn't it be better to let the 'property' option behave the same and use it when the type is rendered as text?
Rendering as text is also a bit weird, since you get to edit the primary key or other defined field. Maybe the types should even be changed to:
Please, create new branch or tag for Symfony 2.0 users ( commit : 2f1620e )
Thanks
Maybe should be TransformationFailedException.
Hi!
Please create a tag for the branch where your bundle supports symfony 2.5.*.
Thanks.
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.