I have a textfield in my form and it automatically displays a dropdown list of suggestions based on my previous entries when I start typing. Normally this would be a nice feature, but I don’t need it for this application. My workaround is to use a textArea instead of a textField, which doesn’t show the auto suggestions. Is there a way to use a textField and turn off the auto suggestions?
When I use this code for the input box it displays the suggestions:
<?php echo $form->textField($model,'content',array('rows'=>1, 'cols'=>50)); ?>
When I use this code for the input box it does not display the suggestions:
<?php echo $form->textArea($model,'content',array('rows'=>1, 'cols'=>50)); ?>