Note the enhance action that is applied to the form element. Without something passed in, you'll get the basic progressive enhancement. Passing in a function, you'll have the ability to customize the client-side behaviour.

3/4

Reply to this note

Please Login to reply.

Discussion

For example, you might want to add a toast notification or disable the form when it's submitting. Here I'm doing both, using the notifications store I previously posted:

4/5