-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hello
I have long unique ID's for my items as strings, like "af0aa000-2778-11eb-9d0e-0f95b229692e"
This doesn't work with your component because of this code. (parseInt)
handleSelect(e) {
let element = e.currentTarget.children[0]
let item = {
id: parseInt(element.dataset.id),
value: element.innerHTML.replace(/&/g, '&')
}
this.selectMenuItem(item)
}
Any possibility to change this to without parseInt?
Thx
Metadata
Metadata
Assignees
Labels
No labels