Skip to content

Commit

Permalink
Merge pull request #1006 from Joice-crypto/name_suggestion
Browse files Browse the repository at this point in the history
Fixed the Name Suggestion error on the Slide Viewer Page
  • Loading branch information
birm authored Jul 29, 2024
2 parents 00ab5d6 + 4940cfe commit fe854d3
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 fe854d3

Please sign in to comment.