Skip to content

Commit

Permalink
fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
jer3k committed Dec 5, 2024
1 parent e3b2c0c commit d75c604
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 d75c604

Please sign in to comment.