We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2adb52 commit ce841faCopy full SHA for ce841fa
1 file changed
components/src/components/Map/Component.ts
@@ -335,8 +335,10 @@ export default class Component extends (FieldComponent as any) {
335
336
isEmpty() {
337
//This is in case a form designer makes the map read only and accidentally sets it as required
338
-
339
if (!this.component.allowSubmissions) return false;
+ //
340
+ if (this.getValue?.features?.length === this.component.numPoints)
341
+ return false;
342
return (
343
this.getValue()?.features?.length === 0 ||
344
this.getValue()?.features?.length === this.defaultValue?.features.length
0 commit comments