CAutoComplete and CJuiDatePicker in the same view not working

I have noticed this bug:

take a simple view and try this:




<?php

$this->widget('CAutoComplete', array('name'=>'testac'));

$this->widget('zii.widgets.jui.CJuiDatePicker', array('name'=>'testdatepick'));

?>



you will notice that CAutoComplete doesn’t do nothing when you try to type anything.

if, obviously you do




<?php

$this->widget('CAutoComplete', array('name'=>'testac'));

?>



it works.

This is happening since revision 1701. (I have tried to checkout 1700 and it works, 1701 and it doesn’t work).

Anyone in this months have used this 2 widget in the same page?!

Yes, it’s a known bug: http://code.google.com/p/yii/issues/detail?id=1048