Added a method to disable the select.