Edit Schema: Event Detail

Component Info

Form settings

When set, this component is rendered as a form. On submit, field values are sent as JSON to the API route.

Fields

17 fields
1
Event / Movie Title(title)required
text
2
Tagline(tagline)
text
3
Backdrop Image URL(backdrop_image)
text
4
Poster Image URL(poster_image)
text
5
Genre(s)(genre)
text
6
Duration (e.g. 2h 15m)(duration)
text
7
Release Year(year)
text
8
Rating (e.g. PG-13 or 8.5/10)(rating)
text
9
Language(language)
text
10
Synopsis / Description(description)
textarea
11
Director(director)
text
12
Cast (comma-separated)(cast)
text
13
Session / Showtime List (JSON)(sessions_json)
textarea
14
Book Button Label(book_label)
text
15
Book Button URL(book_href)
text
16
Back Link Label(back_label)
text
17
Back Link URL(back_href)
text

Changing the schema regenerates the component file

Existing content data is preserved for unchanged fields. New fields will be initialized with default values.

Saves to cms-data/schemas/ and regenerates generated-components/default-event-detail.tsx