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

Fix form data template when select field is set to multiple #452

Merged
merged 1 commit into from
Dec 1, 2020

Conversation

NicoHood
Copy link
Contributor

@NicoHood NicoHood commented Nov 29, 2020

Fixes #315

my_field:
  type: select
  options:
      option1: Option 1
      option2: Option 2
      option3: Option 3
  label: "Test field"
  multiple: true
  validate:
      required: true
      type: array

@rhukster rhukster merged commit 9d889cb into getgrav:develop Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem with select field when multiple: true
2 participants