-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I use this bundle in Symfony 3.1? #435
Comments
Do you have already found a solution for that? |
No. I implemented Select2 by specifying a normal 'choice' type and then adding the necessary Javascript files and calls to the form template. I would still appreciate a solution as I have other projects that I want to upgrade to Symfony 3.x from Symfony 2.x. They are all using this bundle. |
I have exactly same problem.
We agree, it's ugly and totally forbidden to do that. XxxTYPE :: class what is ":: class"? |
Although it is marked compliant 3.X, it is not. I fork and rewrite the bundle to be compatible waiting for a compatible version. |
Hi, I needed only genemu_jqueryselect2 forms.
I had no specific configurations into my config.yml for genum_form.select2. So, I assumed this simple object could overload the service generate by GenemuFormExtension, and it works. I can use this formType to replace the generic service 'genemu_jqueryselect2_entity'. Can you confirm that works for your too ? |
Hi, I know that issue is rather old, but it seems that @benschumi /form-bundle isn't refered in Packagist anymore. Is it normal ? Thanks |
Hi, I never put it on Packagist. |
@benschumi, sorry for writing to you here, but I can't find the right place. |
I can't put a fork on packagist,
If you want to use my fork, use vcs insteasd
|
@benschumi |
This is my old Form Builder code:
If I use this, as per the examples and as I do in Symfony 2.x projects, Symfony 3.1 gives me this:
Could not load type "genemu_jqueryselect2_choice"
After I used the new style and scratched around in this bundle for the correct form class, I tried this:
Now I get this:
Warning: Missing argument 1 for Genemu\Bundle\FormBundle\Form\JQuery\Type\Select2Type::__construct()
Is that the correct class?
I would really prefer to use this bundle, as I have in the past, instead of abandoning it!
PLEASE HELP!
The text was updated successfully, but these errors were encountered: