I have a TWebListControl.
When I create a TListItem, I set the HTML value using MyItem.ListElement.setAttribute( 'value', 'myString');
It is working.
If I add the next TListItem, the value attribute from the previous entry disappears.
Did I do something wrong? I don't know where to look.
I need to save some data to a ListItem.
Either a TObject, TJSObject or a string in which I store JSON.
Is there a possibility?
This would be much easier than if I had to maintain a separate list in which I store the objects.
Well, I already use the property tag and since I need a string, Data is the better and, above all, easier way.
Maybe it can be made public in the next release.