This is not a real bug, but it gives some problems as shown below.
on file:
dom\html\form\input\select\combo.php
on line 216:
$selected = ($item->$listKey === $this->dataValue);
IF I previously pass a "dataValue" using the jdomOptions AND my purpose is to set a value to a combo list field for a foreign key (the datakey is an integer), THEN when "$selected" value should be matched it still gives FALSE.
this is due to the PHP comparison operator "===", the variable type of $item->$listKey is recognized as string and it should be an integer.
I don't know if in this case the indentical comparison operator should be really used , in my opinion the simple equal operator could be enough, I leave to the admin further investigations.
In my case I just changed it to, and it doesn't give me any problems, until now:
$selected = ($item->$listKey == $this->dataValue);