carbon-components-vue
carbon-components-vue copied to clipboard
The default kind for cv-button got error
The css seems work. the button color change to default color, but it always show error in the console [Vue warn]: Invalid prop: custom validator check failed for prop "kind".
Please provide the template code so we know what is being used. Without that, there's no telling what's going on.
@JasmineFan not sure if it is the same problem there for you, but this happened with me due a typo. I was trying to set kind with value "danger-tertiary" (single dash). According to the documentation the value has double dashes, like so: danger--tertiary
After setting the right value, the warning has gone. Hope this helps.