Skip to content

Commit

Permalink
fix(FormGroup): prevent overriding color of children
Browse files Browse the repository at this point in the history
Resolves #352
  • Loading branch information
benjamincanac committed Jun 27, 2023
1 parent 0f3fe0d commit 6be9290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/forms/FormGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

1 comment on commit 6be9290

@vercel
Copy link

@vercel vercel bot commented on 6be9290 Jun 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./

ui-git-dev-nuxtlabs.vercel.app
ui-nuxtlabs.vercel.app
ui.nuxtlabs.com

Please sign in to comment.