Wix code SDK error: The label parameter of item at index 0 that is passed to the options method cannot be set to the value 2

Awesome cheers mate ! it works however when i select a quantity it always puts 1 in no matter what number i select? when its like this ,

let oneItem = {
label: String(item.quantity),
value: String(item[valueField])
}

if i take out [valueField] and replace with the actual value then it works fine and i can select its ok just give me less flexibility from backend code

let oneItem = {
label: String(item.quantity),
value: String(item.quantity)
}

how come the other way works with text? because text is already a string?