Skip to content

Commit

Permalink
Fixed the Name Suggestion error on the Slide Viewer Page
Browse files Browse the repository at this point in the history
  • Loading branch information
Joice-crypto committed Jul 8, 2024
1 parent a9058bd commit 4940cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/pureform/pure-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -1851,7 +1851,7 @@

// check required status
if (!ignoreRequired && schemaItem.required && ((schemaItem.type !== 'boolean' && !value) || (Array.isArray(value) && value.length <= 0))) {
return 'This field must have a value';
return 'Please provide a name for the annotation. The name should be descriptive and unique';
}

if (schemaItem.minItems && (Array.isArray(value) && value.length < schemaItem.minItems)) {
Expand Down

0 comments on commit 4940cfe

Please sign in to comment.