Closed pgrill79 closed 2 weeks ago
I have just figured out my issue - there needs to be a field called value (in our case the id) - then it works:
[
{
"name": "Sheep",
"value": 2,
"animals": 10
},
{
"name": "Goat",
"value": 3,
"animals": 12
}
]
So you can close the issue, but maybe a point for documentation (if not there already somewhere ;))
i have a input field which gets the following options via expression: [ { "name": "Sheep", "speciesid": 2, "animals": 16 }, { "name": "Goat", "speciesid": 3, "animals": 71 } ]
The input field shows the options, but i cant select it - the selection always is empty:
Options are shown:
but after selecting the field remains empty:
If the selection is an array: [ "Sheep", "Goat" ]
it works