From 35e7547d961c90fd260cfc88b6ba32150adcc853 Mon Sep 17 00:00:00 2001 From: Louise Foussat Date: Mon, 22 Apr 2019 15:36:52 +0100 Subject: [PATCH] no more <> around element in `` --- doc/create-steps.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/doc/create-steps.md b/doc/create-steps.md index 86251af11..e7a0798cc 100644 --- a/doc/create-steps.md +++ b/doc/create-steps.md @@ -34,18 +34,18 @@ To set up the child object you've created with these elements : 1. Edit you child object 2. Go to "Object attributes" 3. Add the attributes : - 1. Add a new key "subtype" of type `` with the value 'onb-adm-form-generator' - 2. Add a new key "form" of type `` + 1. Add a new key "subtype" of type `String` with the value 'onb-adm-form-generator' + 2. Add a new key "form" of type `Object` * The form you're creating can have several sections. Each section is displayed with a title, and its inputs. NB : The submission of the form will check the required inputs of all the sections you've created. - * To create a section, add a new key to your form object, of type ``, that contains : - 1. A key "title" of type ``. The value of this property will be the title displayed in the top of your form section. If you have only one section in your form step, and you don't need a section title, you don't have to set up this property. - 2. An "inputs" key of type ``, which will contain all the inputs of the section. For each input you want to add, you must set up the input as this : - * Add a new `` element in the "inputs" object. The key of this object will be used as the "name" attribute of your input. The values will be considered as the props of your input. + * To create a section, add a new key to your form object, of type `Object`, that contains : + 1. A key "title" of type `String`. The value of this property will be the title displayed in the top of your form section. If you have only one section in your form step, and you don't need a section title, you don't have to set up this property. + 2. An "inputs" key of type `Object`, which will contain all the inputs of the section. For each input you want to add, you must set up the input as this : + * Add a new `Object` element in the "inputs" object. The key of this object will be used as the "name" attribute of your input. The values will be considered as the props of your input. Set up of an input props : -* You must declare a "type" key of type ``, wich define the type of your input : ``, ``, ``, `