Hi, I'm creating some custom ui stuff, but every time I click a button or whatever action, this toast is triggered.
you need to add
type="button"
to your button
types on buttons default to
type="submit"
see here:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#typeStar
Discord
online
Get dedicated engineering support directly from the Payload team.