fix(admin-events): polish form papercuts

- Hide the location field's static help text when a validation error is
  shown so the two near-identical messages stop stacking.
- Replace `process.client` with `import.meta.client` (Nuxt 3+ pattern).
- Accept either String or Date for EventTicketPurchase.eventStartDate;
  the parent passes the API's ISO string, which was logging a Vue prop
  type warning on every public event page render.
This commit is contained in:
Jennie Robinson Faber 2026-05-18 17:56:45 +01:00
parent 9858316b30
commit 13c72b5ee0
2 changed files with 4 additions and 4 deletions

View file

@ -224,7 +224,7 @@ const props = defineProps({
required: true,
},
eventStartDate: {
type: Date,
type: [String, Date],
required: true,
},
eventTitle: {