Panel interval field


#1

I think a range field would be great.

Screenshot (not Kirby):

image

We can use two number fields but the downsides of that is:

  • We need like width: 1/2 on them to lay out correcly,
  • We can’t have a label across two fields.
  • We don’t have the - to indicate that it’s a range.

Then the question is how it should be saved, as one field or two.

  • One field saves some space in the content. Also only one field key is needed like range.
  • Two fields makes it easier to filter, for example by the min value. Some kind of suffix will be needed like range_min and range_max.

I think it could make sense for both Kirby 2 and 3. Personally my heart have already left Kirby 2.