Native selectbox bug

UXP shows content from another select box in UI but internally has different values.

Is the DOM on the left generated by React or just a vanilla HTML file?

I assume the “px” list is one of the other dropdowns further below?

This is react and what you see are the DevTools.

Also, other fields have more than 3 options.

But after PS restart I didn’t see that bug. So am no sure if this will pass Marketplace review.

I had something similar with the dropdowns in my first uxp project, in my case this was referable to missing “key” attribute that React uses to track down changes done to the (virtual) dom.
After I made sure the component and its children had unique “key” attributes (something with Math.random or a uuid helper), the dropdown contents were fine again.

Yes that could help…