craft-calendar icon indicating copy to clipboard operation
craft-calendar copied to clipboard

Max Relations validation on multi site setup

Open belkin opened this issue 1 year ago • 1 comments

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):

  • Craft Version: 4.7.4
  • Calendar Version: 5.0.3
  • Calendar Edition: Lite
  • Fresh Install or Upgrade: Fresh Install

Additional context

Everything on Advanced section are unchecked.

belkin avatar Apr 29 '24 14:04 belkin

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.

kjmartens avatar Jul 12 '24 07:07 kjmartens