# Disable onchange when using text\_field\_with\_auto\_complete

**URL:** <https://www.ruby-forum.com/t/disable-onchange-when-using-text-field-with-auto-complete/116812>\
**Category:** Rails\
**Created:** [October 10, 2007, 12:20am UTC](https://www.ruby-forum.com/t/disable-onchange-when-using-text-field-with-auto-complete/116812 "2007-10-10T00:20:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nigel.bris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/e95f7d/32.png) [@nigel.bris](https://www.ruby-forum.com/u/nigel.bris)\
**Post date:** [October 10, 2007, 12:20am UTC](https://www.ruby-forum.com/t/disable-onchange-when-using-text-field-with-auto-complete/116812/1 "2007-10-10T00:20:53Z")

</div>

Any suggestions on how to disable onchange in a  
text\_field\_with\_auto\_complete when the auto\_complete options are being  
displayed? The issue is onchange on the text field is triggered when  
you mouse click an option in the autoselect.
