I believe this is a bug:
Using integers as the keys for options in a multiselect field leads to this error in the panel:
Cannot read properties of undefined (reading 'value')
after a option is selected, saved and page is refreshed.
I’m using Kirby 3.9.3 and my multiselect field looks like this:
jahrgang:
label: Jahrgang
type: multiselect
max: 1
options:
2011: 2011
2012: 2012
2013: 2013
2014: 2014
2015: 2015
2016: 2016
2017: 2017
2018: 2018
2019: 2019
2020: 2020
2021: 2021
2022: 2022
2023: 2023
I also tried the hyphen style for options, that leads to the same error.