alpine-ajax
alpine-ajax copied to clipboard
examples/dialog-form.md - add missing alpine event handlers to sample html
Sample html is missing that form is firing @ajax:success="$dispatch('contact:updated')
and that dialog listens to this event to close itself. This commit adds missing parts to correspond to the live demo code on this same page.