PricingBlog

API not being called on submit button

  • salazar5193-1208670864862744577

    salazar5193

    1 year ago

    I created a login with magic link button with an api call to supabase, but the api call is not being triggered on submitting the form. I followed the exact steps shown in the to-do list video.
  • lucasg-1208676037282496552

    Lucas G

    1 year ago

    Make sure the API call event is set to the form element's submit event and not its button element.
  • salazar5193-1208680948565020743

    salazar5193

    1 year ago

    Thanks a lot, it works 🙌