use slider instead of text input