Edit Event - {data.event.name} - Cactoide

Edit Event

Update your event details

{ isSubmitting = true; return async ({ result, update }) => { isSubmitting = false; if (result.type === 'failure') { // Handle validation errors if (result.data?.error) { errors.server = String(result.data.error); } } update(); }; }} class="space-y-6" > {#if errors.server}
{errors.server}
{/if}
{#if errors.name}

{errors.name}

{/if}
{#if errors.date}

{errors.date}

{/if}
{#if errors.time}

{errors.time}

{/if}
{#if errors.location}

{errors.location}

{/if}
Type *
{#if eventData.type === 'limited'}
{#if errors.attendee_limit}

{errors.attendee_limit}

{/if}
{/if}
Visibility *

{eventData.visibility === 'public' ? 'Public events are visible to everyone and can be discovered by others' : 'Private events are only visible to you and people you share the link with'}