Numbers as select values for Enumeration type

Hi guys, I have a question, how can I add something like this to Enumeration type, so I could choose it from the list of options:

Values (one line per value)
hls
dash
720p
1080p

When I try to do it I have an error:

The value does not match the regex.

After some reading of the github issues I realised that it’s a restriction in the regex for this field, but I’m still thinking that there should be a way to list numbers as well, or is it not possible for some reason in strapi?

4 Likes

I also have a situation where I’ve to choose either 12kg or 35kg in the quantity enum field. So how can I do that?

1 Like