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
When giving HTML attributes to the component (such as name or id), these are attached to the root of the component instead of being attached to the actual input (so that it can properly be used in a form).
There are two solutions :
add props that allow to passe name (and optionally id)
pass the attributes directly to the input
The text was updated successfully, but these errors were encountered:
hasinhayder
added a commit
to hasinhayder/vue-switches
that referenced
this issue
Jan 16, 2021
When giving HTML attributes to the component (such as
name
orid
), these are attached to the root of the component instead of being attached to the actual input (so that it can properly be used in a form).There are two solutions :
name
(and optionallyid
)The text was updated successfully, but these errors were encountered: