fixed widgethandler to work with both BA and Scenario Editor (TextInput)