set input type to widgets where it is missing