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?
to your account
<div translate="no">Hello Vue.js</div>
<div translate="yes">Hello Vue.js</div>
Expect something like this.
The text was updated successfully, but these errors were encountered:
This is because translate attribute exists as dom properties but must be set as a boolean. Maybe we should handle this special case for the "no" value.
For the moment you can either set boolean values or use the ^ in front of the attribute:
Sorry, something went wrong.
@posva can you explain more about the ^ in front of the attribute trick?
Same a .attr modifier for v-bind
@Rolanddoda .attr - force a binding to be set as a DOM attribute.
fix(runtime-dom): patch translate as an attr (#5485)
Successfully merging a pull request may close this issue.