fix(FormGroup): prevent overriding color of children

Resolves #352
This commit is contained in:
Benjamin Canac
2023-06-27 15:17:53 +02:00
parent 0f3fe0d54e
commit 6be9290f68

View File

@@ -58,7 +58,7 @@ export default defineComponent({
if (props.error) {
vProps.oldColor = node.props.color
vProps.color = 'red'
} else {
} else if (vProps.oldColor) {
vProps.color = vProps.oldColor
}