add option to ignore invalid choices. references #9738

add option to ignore invalid choices. references #9738