Skip to content

Commit

Permalink
fix(Studio): change organisers to dropdown with option for all
Browse files Browse the repository at this point in the history
Fixes #128
  • Loading branch information
TheKnarf committed Dec 17, 2024
1 parent 29e5dec commit 1a22101
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions studio/schemas/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,12 @@ export default defineType({
defineField({
name: "organisers",
title: "Hvilke(t) selskap er arrangør?",
type: "array",
type: "string",
of: [{ type: "string" }],
options: {
list: ["Capra", "Fryde", "Liflig"],
list: ["Alle", "Capra", "Fryde", "Liflig"],
},
initialValue: "Alle",
validation: (Rule) => Rule.required(),
}),
defineField({
Expand Down

0 comments on commit 1a22101

Please sign in to comment.