Updated quickinput widget to handle the case when no tooltip is provided