Added ability to set the disabled status of an input