@bpmn-io/form-js-playground 1.11.0-alpha.0 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,6 +13,24 @@ Integrate the playground into your application:
13
13
  ```javascript
14
14
  import { Playground } from '@bpmn-io/form-js-playground';
15
15
 
16
+ const schema = {
17
+ type: 'default',
18
+ components: [
19
+ {
20
+ key: 'creditor',
21
+ label: 'Creditor',
22
+ type: 'textfield',
23
+ validate: {
24
+ required: true,
25
+ },
26
+ },
27
+ ],
28
+ };
29
+
30
+ const data = {
31
+ creditor: 'John Doe Company',
32
+ };
33
+
16
34
  const playground = new Playground({
17
35
  container: document.querySelector('#container'),
18
36
  schema,