xoptov / dynamic-form-bundle Goto Github PK
View Code? Open in Web Editor NEWThis bundle for processing dynamic symfony forms
License: MIT License
This bundle for processing dynamic symfony forms
License: MIT License
Now we can't using this bundle for Doctrine ORM just can use for Doctrine ODM.
Need remove old form building logic based on Filter listener. Instead of filter we must build form dynamical based on FormBuilder.
Need refactoring appropriate database schema.
Need remove dependency of php7 from code.
Необходимо создать тип и листнер который умеет работать с разными типами полей.
Some times we have property object witch the have multiple possible values for choice. We want to have possibility to build own field for choice with some values from property values. For that we must create new type of form field witch the from the database by property and select related values for us.
in FilterTypeSubscriber.php
public function __construct($deleteEmpty = false)
in services.xml
<service id="xdf.filter_type.subscriber" class="Xoptov\DynamicFormBundle\Form\EventListener\FilterTypeSubscriber">
<argument type="service" id="xdf.filter.manager"/>
</service>
This makes onSubmit
method try to clean up empty fields always. Solutions:
$deleteEmpty
and check if $form
has fields at allA 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.