You have values as "pending option confirmed" Where is the "request" from?
The code is working, the error is somewhere in your data
Quote:No, html output has not changed, the default value one is still the one selected.
Yes, Because there is no such value in the POST response, it is selected by default.