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
The reason it doesn't work is because checkMixin (packages/core/src/mixins/check-mixin.js) defines name as a prop and cv-checkbox does not add it to the input field explicitly but uses v-bind="$attrs". However, $attrs only contains the attributes that are not defined as props (which name is) or in the emits option.
It's interesting, because it seems that this bug has been there since the very first version of this compoments (March 2019) and it prevents submitting the value of the checkbox from a form.
This code
generates the following HTML
Thus, it is impossible to pass the name attribute to the cv-checkbox component, which is quite sad.
Is this a bug or am I doing something wrong?
The text was updated successfully, but these errors were encountered: