Added possibility to use widget as input. (inputType = array( /*widget configuration*/ ) )