How can I simplify product customization with a 10-digit dropdown list?

Hi,

I want to add customization filed for my product. Shoppers will select 10digits max from dropdown list. My drop down list is from A-Z and 0-9 with some emoji. I made below code and its just for 1 digit, I can copy past 9 times more for rest digits but it will be too long. is there any way to simplify it.

Moreover, customer must select at least 1 digit before adding to cart.

is there any way to add icons or image to drop down list like attached image.

1st Digit

If you’re going to use the dropdown as a variant picker, then use the variants image and look it up here.