Bugfix: Initialization of widget failed, when no input element was
supplied.

Change-Id: Ia8874df31be4362a230ebd2caf488493737e8d9f