Maybe it’s because human values can’t be numbers with Select? Tried to change and it works this way:
blueprint:
type: builder
fieldsets:
setlists:
label: Sarašas
fields:
widthdesktop:
label: Stulpeliai
type: select
options:
12: one
6: two
4: three
3: four
2: six
Still would be nice to use both words and numbers.
Yes, depends on case, I usually use radios if there are few values, as then there is no need to open list, but in this case want to have one line of fields for settings. Anyway, problem is solved, thanks.
Made by this example to store different values, than editor sees, and works perfect:
Tried another solution to change human value: 12 / $data->widthdesktop(), but works very strange: $data->widthdesktop() returns “1” all the times, not depending what real value is selected.