Simplify the get_input_type method, add multi type
Merge pull request #2 from mociepka/add-multiwidgets-support

Simplify the get_input_type method, add multi type