You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't manually set type="submit" on the button since type prop is being set for something else. This is not ideal since attrs should be treated as attrs. You can do something like v-bind="$attrs" but then type is meant for something else that is reset, submit, button. But this is not worth changing type prop since it would be breaking change.
I would recommend having nativeType as well as support for attrs with v-bind="$attrs" in this component, since it's a basic form level component.
Type of Issue
Bug fix
New feature
Expected Behavior
Current Behavior
Possible Solution
Add a new prop for now nativeType.
But when major release is done, remove type and rename it as something else so that attrs and props don't clash.
Can't manually set type="submit" on the button since type prop is being set for something else. This is not ideal since attrs should be treated as attrs. You can do something like
v-bind="$attrs"
but then type is meant for something else that isreset, submit, button
. But this is not worth changing type prop since it would be breaking change.I would recommend having
nativeType
as well as support for attrs with v-bind="$attrs" in this component, since it's a basic form level component.Type of Issue
Expected Behavior
Current Behavior
Possible Solution
Add a new prop for now
nativeType
.But when major release is done, remove
type
and rename it as something else so that attrs and props don't clash.Steps to Reproduce
Context (Environment)
http://reiyoshizawa.com/vue-listeners-attrs/
Detailed Description
Possible Implementation
http://reiyoshizawa.com/vue-listeners-attrs/
The text was updated successfully, but these errors were encountered: