This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » plugins » Javascript plugins » mustMatch in JQuery Autocompleter
mustMatch in JQuery Autocompleter [message #96434] Tue, 30 March 2010 15:02
Messages: 8
Registered: March 2010
Junior Member
Hi all,

I have a problem with JQuery autocompleter, used via sfFormExtraPlugin. Everything works fine and as expected, except for when mustMatch option is set to 'true'. Then if I start to type into the input form, some suggestions appear. If I click on one of them, or go down the drop down window and chose one, then everything works fine. But if I type in the word (a should be accepted word), the form is not accepted! Anybody has any ideas what can be wrong and how to correct it?
The curious thing is that such typed in input does not disappear, as it should and it does for input not matching the list of accepted words.

I'll be very grateful for any suggestions,

My widget is here:
$this->widgetSchema['ingredient_id'] = new sfWidgetFormDoctrineChoice(array(
'model' => $this->getRelatedModelName('ingredient'),
'multiple' => false,
'renderer_class' => 'sfWidgetFormJQueryAutocompleter',
'renderer_options' => array(
'url' => '/ingredient/autocomplete',
'value_callback' =>array('ingredient','getIngredientName'),
'config' => ' {
scrollHeight: 250 ,
autoFill: true,
cacheLength: 1,
delay: 10,
max: 10,
mustMatch: true,
selectFirst: false

Previous Topic:sfFormExtraPlugin's autocompleter does not work
Next Topic:jQueryUI Tabs issue
Goto Forum:

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software