Skip to content

Commit

Permalink
fix: check if field is a formgroup
Browse files Browse the repository at this point in the history
  • Loading branch information
YannicEl committed Jan 2, 2024
1 parent a8b0a0d commit b990928
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/lib/src/components/UField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ const field = computed(() => {
return;
}
if ('values' in field) {
console.warn('Field is actually a field group');
return;
}
field.disabled = 'disabled' in attributes;
return field;
Expand Down

0 comments on commit b990928

Please sign in to comment.