FormOptions

View Source

Summary

Options for generating a paired index/action form route map.

Signature

interface FormOptions {
  formMethod?: RequestMethod;
  names?: { action?: string; index?: string };
}

Properties

formMethod

The method the <form> uses to submit the action.

names

Custom names to use for the index and action routes.