sylvainjule / kirby-annotator

Kirby field for adding notes to images by pinning them to specific coordinates. Kirby 2 and 3.
MIT License
107 stars 9 forks source link

Min/Max annotation #6

Closed findthebug closed 5 years ago

findthebug commented 5 years ago

it would be great if it were possible to limit the number of annotations. In my case, I only need 1 annotation and want to prevent multiple annotations from being added. Unfortunately I can't set this with "min" or "max". When I click on the image, unlimited annotation is added, even i add min or max to the structure fields in the marker section.

sylvainjule commented 5 years ago

I've added a max option. ✅ The min option of the structure field itself will work fine.

Documented it here