solspace / craft-calendar

Calendar for Craft: The most reliable and powerful event management plugin for Craft.
http://docs.solspace.com/craft/calendar/v5
Other
16 stars 14 forks source link

Max Relations validation on multi site setup #284

Open belkin opened 4 months ago

belkin commented 4 months ago

I've created Calendar Events field with Max Relations set to 1. But after adding it to entry type and choosing an event from the calendar plugin I'm getting following validation message/error: Events should contain at most 1 selection. If I remove Max Relations from the field everything works as expected.

Steps to reproduce

  1. Create multi-site setup. In my setup it was with 3 languages (EN/NL/FR).
  2. Create new Calendar Events field
  3. Set Max Relations to 1
image
  1. Add to Entry type
  2. Select Event
  3. You should see following error message Events should contain at most 1 selection.
image image

Expected behavior

  1. To be able to set Max Relations without errors on Entry save

Craft & Plugin Info (please complete the following information):

Additional context

Everything on Advanced section are unchecked.

kjmartens commented 1 month ago

Sorry for the long delay @belkin,

We have taken a look at this one and it's a bit tricky to fix. It's on our list to revisit in the near future though.