mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
875811fdfd
API Create stateOverride state for schema Enhancement Moved crumbs property to rely on redux state Enhancement Updated file app icon names API Added InsertMediaModal functionality to HtmlEditorField API Removed dependency on schema ID that is returned from server API Added afterMessages property for FormBuilder to display content after the alert message
FormBuilderModal Component
This is a Modal component to help display a form within a Modal/Dialog box
Properties
title
(string): The title that will appear for the Modal.show
(boolean): Tells the modal when to show and hide from the interface.handleHide
(function): Event handler when the modal is sending a hide request, this assumes the value ofshow
that is passed will be changed when conditions are met.schemaUrl
(string): The url to call which is passed to theFormBuilder
Component as a prop.handleSubmit
(function): Event handler when the form in the Modal is submitted.handleAction
(function): Event handler passed to theFormBuilder
Component as a prop.