Skip to content

Commit

Permalink
fix: validation
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-kalachikov committed Feb 20, 2025
1 parent d985cc0 commit a34c982
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ function _useConfigurableProduct(configurableProductId: string) {
const validationResult = validateValue(section.id, input);
if (!validationResult.isValid) {
validationErrors.value.set(section.id, validationResult.error);
} else {
validationErrors.value.delete(section.id);
}
}
}
Expand Down

0 comments on commit a34c982

Please sign in to comment.