-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
Component Data - type: 'boolean'
should trigger completion without =""
#2127
Comments
I must just add a note that it's a bit of a preference thing too. Some projects I work with prefer to use
If not then I can live with it I guess. Maybe will consider switching to |
Thinking more about it, the |
I'd say that's a minority case. That's not consistent with HTML5's boolean attributes. When user attempts to type a boolean attribute, I think they are way more likely to use it for the truthy value, so I should make that easier for them. In majority case, having to |
Yeah, OK. |
Associated with wrong commit... |
For example, now installing
element-ui
and completing<el-tree expand-on-click-node=""></el-tree>
.expand-on-click-node
has type boolean and should trigger a completion likeexpand-on-click-node
, notexpand-on-click-node=""
.The text was updated successfully, but these errors were encountered: