Skip to content

Explain how to omit dynamic attributes #745

New issue

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

Merged
merged 1 commit into from
Dec 13, 2020

Conversation

skirtles-code
Copy link
Contributor

Description of Problem

Some values cause dynamic attributes to be omitted. The current description of this in template-syntax.md is not entirely accurate.

Proposed Solution

The tricky part of explaining this is the handling of an empty string for boolean attributes. My explanation of why it behaves the way it does is very brief but I didn't want to dwell on an edge case. I hope I've provided enough information for those who are curious without derailing those who aren't.

Additional Information

Closes #711.

@NataliaTepluhina NataliaTepluhina merged commit 8044d0e into vuejs:master Dec 13, 2020
fimion pushed a commit to fimion/docs-next that referenced this pull request Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The part about "boolean attributes" can be more clear.
2 participants