Hello! In an old thread it was mentioned that using the query language to assign a min / max value in a range field doesn’t work with dates. But is it possible with numbers?
I have a gallery where I choose a number of columns via range field on the gallery page blueprint.
columns:
label: Number of columns
type: range
step: 1
min: 1
max: 5
I also have a range field on each gallery file blueprint to pick a number for column start and end.
columnEnd:
label: Column end
type: range
min: 1
max: "{{file.parent.columns.toInt}}"
It would be very cool if I could just assign the chosen number from the gallery field to the max value in the file range field, however that doesn’t seem to work.
Any other way to do this?