Comments (11)
Could you paste the generated HTML? You mean the hidden input is not here anymore and it's rendered as a simple select?
from genemuformbundle.
Yes that's it
Generated HTML :
select id="mots_cles_ajout_motcle" required="required" name="mots_cles_ajout[motcle]">
And the getName of the form
public function getName()
{
return 'mots_cles_ajout';
}
And it's generating simple select like this in all autocompleter_entity i'm using
from genemuformbundle.
I've just tested it and it's generating the hidden input too, maybe you should just clear your cache, yesterday I made a change about the template block naming.
from genemuformbundle.
After clearing cache, it's still not working.
I've tried to remove the vendor folder and reinstall the symfony component, nothing has changed.
I've tried to remove theme from forms, we never know, still the same...
from genemuformbundle.
I just tried with the previous getName() in
\vendor\genemu\form-bundle\Genemu\Bundle\FormBundle\Form\JQuery\Type\AutocompleterType.php
and it works...
public function getName()
{
return 'genemu_jqueryautocompleter';
}
So i don't know where comes the problem, but just this function makes the autocompleter not working correctly
from genemuformbundle.
Well, update to the latest symfony and you'll get an error if you keep this name ;-)
As I told you, it works just fine for me so I can't really help you.
Edit : Could you debug the types used in the twig form extension for the autocompleter type (it's in the Twig Bridge)? Apparently genemu_autocompleter isn't there in your case.
from genemuformbundle.
Oh yes that's right i thought i was on beta3 of Sf 2.1.0 but no i'm still in beta2 and i use the dev-master version of genemu, that's why i got an error...
Isn't this composer.json lines get back the latest Sf version ?
"symfony/symfony": "2.1.*",
"doctrine/orm": "2.2.0",
"doctrine/doctrine-bundle": "dev-master",
"twig/extensions": "dev-master",
"symfony/assetic-bundle": "dev-master",
"symfony/swiftmailer-bundle": "dev-master",
"symfony/monolog-bundle": "dev-master",
"sensio/distribution-bundle": "dev-master",
"sensio/framework-extra-bundle": "dev-master",
"sensio/generator-bundle": "dev-master",
from genemuformbundle.
it depends on the command you'll run, composer update symfony/symfony genemu/genemu-form
from genemuformbundle.
i'm always running a full composer.phar update...and i'm not gone on sf 2.1.0beta3...
from genemuformbundle.
You're not on the beta3 because it's not explicitely specified in your composer.json, but it's ok you should be on the latest commit of the master branch. Anyway do you stil have the error?
from genemuformbundle.
No i don't have anymore thanks for support
from genemuformbundle.
Related Issues (20)
- Bundle still maintained? HOT 15
- Recaptcha not visible on the server
- Select2 and DTO?
- Show google recaptcha "I'm not Roobot" HOT 1
- Symfony 2.8 dependency HOT 1
- Rely on IvoryFormExtraBundle for javascript/stylesheet form fragment
- Not using ReCaptcha but still get error HOT 1
- remove deprecated calls HOT 1
- deprecated methods symfony 3.* HOT 1
- Purpose of `md5`ing of a captcha value HOT 2
- How to add form_javascript to the bottom of the parent layout ? HOT 1
- SF2.8.8 and getBlockPrefix() bug HOT 3
- genemu_jqueryselect2_entity autocomplete to database entry id
- Error: "ChoiceToJsonTransformer must implement ChoiceListInterface" HOT 1
- How do I use this bundle in Symfony 3.1? HOT 10
- Error : Could not load type "genemu_jquerygeolocation"
- Twig2 Support HOT 1
- How do I use this bundle in Symfony 3.2.x? (datapicker) HOT 2
- [Question] Release version 3.0 HOT 5
- ddd
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from genemuformbundle.