@bpmn-io/form-js-viewer
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -1946,3 +1946,3 @@ import { isArray, isFunction, isNumber, bind, assign, get, set, isString } from 'min-dash'; | ||
async function createForm(options) { | ||
function createForm(options) { | ||
const { | ||
@@ -1954,4 +1954,5 @@ data, | ||
const form = new Form(rest); | ||
await form.importSchema(schema, data); | ||
return form; | ||
return form.importSchema(schema, data).then(function () { | ||
return form; | ||
}); | ||
} | ||
@@ -1958,0 +1959,0 @@ |
{ | ||
"name": "@bpmn-io/form-js-viewer", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "View forms - powered by bpmn.io", | ||
@@ -53,3 +53,3 @@ "exports": { | ||
], | ||
"gitHead": "7fedc30fc6feef19ec0ae10dd6cb7f06086f6eec" | ||
"gitHead": "01d194644a1cce06c9b3104a112ace89ffcbece7" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
290295
3875