I think you should just be able to replace ``value`` with ``v`` here to address my comment about the error message on invalid choices.