Skip to content

Commit

Permalink
🐛 Bug - Non-required Fields Causing Error (#2965)
Browse files Browse the repository at this point in the history
* feat: added required fields for events

* removed required fields

---------

Co-authored-by: igorgoldobin <[email protected]>
  • Loading branch information
fenix2222 and igorgoldobin authored Sep 6, 2024
1 parent 3568715 commit ca7ceb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions components/training/eventBooking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,13 @@ export const eventBookingSchema: Template = {
type: "number",
label: "Duration (In Days)",
name: eventBookingBlock.eventDurationInDays,
required: true,
},
{
type: "number",
label: "Price",
name: eventBookingBlock.price,
required: true,
},
{
type: "number",
Expand All @@ -293,6 +295,7 @@ export const eventBookingSchema: Template = {
name: eventBookingBlock.gstText,
label: "Select GST Option",
options: gstTypeOptions,
required: true,
},

{
Expand Down
2 changes: 1 addition & 1 deletion tina/tina-lock.json

Large diffs are not rendered by default.

0 comments on commit ca7ceb8

Please sign in to comment.