Skip to main content

ScaffolderRJSFFormProps.action

Home > @backstage/plugin-scaffolder-react > ScaffolderRJSFFormProps > action

The value of this prop will be passed to the action HTML attribute on the form

NOTE: this just renders the action attribute in the HTML markup. There is no real network request being sent to this action on submit. Instead, react-jsonschema-form catches the submit event with event.preventDefault() and then calls the onSubmit function, where you could send a request programmatically with fetch or similar.

Signature:

action?: string;