fix(vue): components now integrate properly with vee-validate (#23114)

resolves #22886
This commit is contained in:
Liam DeBeasi
2021-03-29 14:34:52 -04:00
committed by GitHub
parent eacd8f6d27
commit ba51daf17c
3 changed files with 10 additions and 8 deletions

View File

@ -96,6 +96,8 @@ export const defineContainer = <Props>(name: string, componentProps: string[] =
}
return () => {
modelPropValue = (props as any)[modelProp];
getComponentClasses(attrs.class).forEach(value => {
classes.add(value);
});