hide choices field if the list of choices is empty