Skip to content

Commit

Permalink
fix(ui): prevent false duplicates on group form updates
Browse files Browse the repository at this point in the history
  • Loading branch information
hdinia authored and skamril committed Apr 24, 2024
1 parent 074dea8 commit 42cf46e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ function GroupForm(props: UseFormReturnPlus) {
validateString(v, {
existingValues: existingGroups,
excludedValues: RESERVED_GROUP_NAMES,
editedValue: defaultValues?.name, // prevent false duplicates on update form
}),
})}
/>
Expand Down

0 comments on commit 42cf46e

Please sign in to comment.