Skip to content

Commit

Permalink
fix: DOM attribute warning in event-types edit page (calcom#16953)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj authored Oct 5, 2024
1 parent 8722745 commit 376caa4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export const EventAdvancedTab = ({
const eventTypeColorLocked = shouldLockDisableProps("eventTypeColor");
const lockTimeZoneToggleOnBookingPageLocked = shouldLockDisableProps("lockTimeZoneToggleOnBookingPage");
const multiplePrivateLinksLocked = shouldLockDisableProps("multiplePrivateLinks");
const { isLocked, ...eventNameLocked } = shouldLockDisableProps("eventName");

if (isManagedEventType) {
multiplePrivateLinksLocked.disabled = true;
Expand Down Expand Up @@ -209,7 +210,7 @@ export const EventAdvancedTab = ({
<TextField
label={t("event_name_in_calendar")}
type="text"
{...shouldLockDisableProps("eventName")}
{...eventNameLocked}
placeholder={eventNamePlaceholder}
{...formMethods.register("eventName")}
addOnSuffix={
Expand Down

0 comments on commit 376caa4

Please sign in to comment.