We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux Mint 20.3 Cinnamon [email protected] [email protected] @riotjs/[email protected]
Can not find any platform which can run ssr, so I paste code here.
file - test.riot.js
export default { css: null, exports: null, template: ( template, expressionTypes, bindingTypes, getComponent ) => template( '<input type="button" value="GJ"/>', [] ), name: 'test' };
file - test.js
import ssr from '@riotjs/ssr'; import test from './test.riot.js'; const { html: HTML, css: CSS } = ssr.fragments('test', test, {}); console.log(HTML);
test.js output - the value becomes empty.
<test><input type="button" value=""></test>
The text was updated successfully, but these errors were encountered:
It looks like that input[type=radio] has the same issue: <input type='radio' value='test'/> becomes <input type='radio' value=''/>
<input type='radio' value='test'/>
<input type='radio' value=''/>
BUT, this is workable: <input type='radio' value={'test'}/>
<input type='radio' value={'test'}/>
Sorry, something went wrong.
I will need to investigate it. For now you can simply use <input value={'your-value'}/>. That should work.
<input value={'your-value'}/>
53170d4
Fixed in @riotjs/[email protected] thank you for reporting it
Verified, the issue gone. Thanks.
GianlucaGuarini
No branches or pull requests
Environment
Linux Mint 20.3 Cinnamon
[email protected]
[email protected]
@riotjs/[email protected]
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.
The text was updated successfully, but these errors were encountered: