CreateDialog

Modal dialog for creating certain item (file, folder, etc.). The user gets the full acess to the functionality but cannot control the layout.

Interface: ICreateDialog.

Example

const createDialogProps = {
  title: "Create diagram",
  startValue: "New diagram",
  visible: true,
  isCreateDialog: true,
  extension: ".drawio",
  onSave: async (e: any, value: string) => {},
  onCancel: (e: any) => {},
  onClose: (e: any) => {},
}

Get Help

  • If you have any questions about ONLYOFFICE DocSpace, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).