Skip to content

FormEdit ​

Storybook

Browse the props, controls and all the stories of FormEdit in Storybook.

The FormEdit component wraps the FormBuilder component and adds the title, display, name and path fields at the top along with a save button.

Props ​

NameTypeDefaultDescription
formobject{display: 'form'}The form definition of the exiting form that is to be modified.
optionsobject{}The options to be passed to FormBuilder
saveTextstring''The string that will be displayed in the save-button

Event Props ​

NameParametersDescription
onSubmitformCalled when the save button is pressed. Will pass the form definition to the callback.

Example ​

Live exampleOpen in Storybook ↗

Released under the MIT License.