Skip to content

Commit

Permalink
fix: e2e test (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
jer3k authored Dec 5, 2024
1 parent b2d0d37 commit d303f9d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,8 @@ const handleSave = handleSubmit(async (values) => {
}
function validateFile(values) {
if (fileDisplayOnly.value) return true; //existing files are okay
if (!values.fileDisplayName && values.attachment) {
setErrors({ fileDisplayName: 'File display text is required.' });
return false;
Expand Down

0 comments on commit d303f9d

Please sign in to comment.