You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We used to avoid using await here so that the view could be rendered faster while the select items are "lazy loaded". If there are 5 selects all requiring remote data, this could slow things down quite a bit (even with Promise.all, when possible).
If you omit the await, but change ${theDefault} to -- (for example), it works again.
I'm submitting a bug report
2.2.0
Please tell us about your environment:
Operating System:
Windows 10
Node Version:
10.15.1
NPM Version:
6.4.1
JSPM OR Webpack AND Version
any
Browser:
all
Language:
all
Current behavior:
Using an interpolation binding inside an HTML
<option>
breaks the bound value of the select element.f.e.
Remove
${theDefault}
here (replace it with a static string), and everything works as expected.Alternatively, changing
void
toawait
in the VM activate method works around the issue.Expected/desired behavior:
(The GistRun example is outdated, see jdanyow/rjs-bundle#5)
https://codesandbox.io/s/nwvzx649yl
CPU
should be selected.@bigopon Could this be related to #677?
The text was updated successfully, but these errors were encountered: