fix: Private settings of the event disabled after making changes to your event (#14628)

* fix: Private settings of the event disabled after making changes to your event

* add test

---------

Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
Somay ChauhanandUdit Takkar authored and GitHub committed 2024-04-22 11:53:50 +00:00
1 parent fe551af145
commit 1931758fc7
3 files changed
+16 -2

No files matched your search

@@ -480,6 +480,7 @@ export const EventSetupTab = (
label={t("title")}
{...(isManagedEventType || isChildrenManagedEventType ? titleLockedProps : {})}
defaultValue={eventType.title}
data-testid="event-title"
{...formMethods.register("title")}
/>
<div>
@@ -494,6 +495,7 @@ export const EventSetupTab = (
label={t("URL")}
{...(isManagedEventType || isChildrenManagedEventType ? urlLockedProps : {})}
defaultValue={eventType.slug}
data-testid="event-slug"
addOnLeading={
<>
{urlPrefix}/