Added support for disabling the dropdown