Romasa Qasim
Romasa Qasim

Reputation: 48

datepicker not working with autocomplete symfony

I am working with a form in symfony in which I need to use both the autocomplete and the datepicker functionalities. For autocomplete I am using sfExtraWidgetFormInputAutocomplete and for datepicker I am using sfWidgetFormDateJQueryUI in my form configure() method. In my form first widget using autocomplete is rendered and then the datepicker widget. I have read that there is some compatibility issue with these two.

Please tell me how to make them both work in single form.

Upvotes: 0

Views: 322

Answers (1)

chokrijobs
chokrijobs

Reputation: 761

use this line on the top of the page:

jq_add_plugins_by_name(array('autocomplete'));

Upvotes: 1

Related Questions