added disabled status to widget and input text