Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Max Relations validation on multi site setup #284

Open
belkin opened this issue Apr 29, 2024 · 0 comments
Open

Max Relations validation on multi site setup #284

belkin opened this issue Apr 29, 2024 · 0 comments
Labels
issue Something isn't working correctly

Comments

@belkin
Copy link

belkin commented Apr 29, 2024

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 belkin added the issue Something isn't working correctly label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue Something isn't working correctly
Development

No branches or pull requests

1 participant