support validation for selectedOptions handler