Adds support for inputs with type range.