Change range input back to original type.

This reverts commit parts of ea1a86795c0cde6a35f516f39512e9fd9a6922b6 and 2aca27c9993490729b438becf216ef851b0bb59a.