Dynamic dropdowns - Getting message "This field is required"