Reproduction: Use the following sheet: <select name="attr_test">
<option value="1" selected>First option</option>
<option value="2">Second option></option>
</select>
<script type="text/worker">
on('sheet:opened', () => getAttrs(['test'], v => console.log(v.test)));
</script> Expected behaviour: "1" is logged. Actual behaviour: "0" is logged (regardless of the value of the first option). Once the value is changed and an attribute is created, getAttrs() works as expected (after changing it to the second option and back to the first one, it will return the correct value).