Datalist input type added

Added type to the input field so it can be controlled from the elementas to what kind of datalist should be rendered