Once you click on the edit link, you will be redirected to the attribute edit screen, where you need to set Display Type of the attribute. This option controls how the variation attribute will appear on the frontend. You can choose from 4 different types -