Restrict input values to be a value in choices.