Reverse the formatSelect function to set initial data.