Closed rzfang closed 2 years ago
It looks like that input[type=radio] has the same issue:
<input type='radio' value='test'/>
becomes <input type='radio' value=''/>
BUT, this is workable:
<input type='radio' value={'test'}/>
I will need to investigate it. For now you can simply use <input value={'your-value'}/>
. That should work.
Fixed in @riotjs/ssr@8.0.1 thank you for reporting it
Verified, the issue gone. Thanks.
Environment
Linux Mint 20.3 Cinnamon node@14.19.1 npm@6.14.16 @riotjs/ssr@8.0.0
Steps to reproduce the problem.
Can not find any platform which can run ssr, so I paste code here.
file - test.riot.js
file - test.js
test.js output - the value becomes empty.