I have some logic dependent on the id of the list item. ListView has a property data-uid on the li element which corresponds to the id of the element, while ListBox component has instead the property data-value with alphabetic values.
Comparison between ListView component and ListBox component:
How can I get the id of the item in the list in a different way from here without the data-uid in a Listbox?