You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
|| comment| String| comment / description for the container|
144
-
|| commentClass| String| html class for the comment element|
145
-
143
+
|| comment| String| comment / description for the container|
144
+
|| commentClass| String| html class for the comment element|
146
145
147
146
####Container specific properties
148
147
@@ -151,13 +150,17 @@ containers and keys or use the ones that come with the module.
151
150
| editable-grid| renderer| String| editable-grid|
152
151
|| fields| {}| An object with one or more field definitions in a key-value pair|
153
152
|| buttons|`{"add": "Add", "remove": "X", "duplicate": "Duplicate"}`| has 3 properties, all optional. These can be either function that returns the button or string which is the label for a button|
154
-
|| isObject| Bool| whether the grid displays an object. If set to true, buttons (add, remove and duplicate) will be disabled.|
153
+
|| isObject| Bool| whether the grid displays an object. If set to true, buttons (add, remove and duplicate) will be disabled.|
155
154
|| isSortable| Bool| whether the grid rows can be dragged and sorted|
156
155
|| tableContainerClass| String| htmlClass for the div wrapping the editable-grid|
157
156
|| tableClass| String| htmlClass for the main editable grid|
158
157
| div| renderer| String| div|
159
158
|| name| String| is used to prepend parent container's name to the children fields when "prefixNameToElement" is set to true.|
160
159
|| htmlClass| String| htmlClass for the div element|
160
+
| html-tag| renderer| String| html-tag|
161
+
|| name| String| is used to prepend parent container's name to the children fields when "prefixNameToElement" is set to true.|
162
+
|| as| String| html tag to be used (Default: 'div')|
163
+
|| htmlClass| String| htmlClass for the html-tag element|
161
164
| fieldset| renderer| String| fieldset|
162
165
|| name| String| is used to prepend parent container's name to the children fields when "prefixNameToElement" is set to true.|
163
166
|| title| String| label for the fieldset|
@@ -187,20 +190,23 @@ containers and keys or use the ones that come with the module.
|| fieldClass| String| html class for the main html/3-rd party form field||
201
-
|| comment| String| comment / description that goes below the field||
202
-
|| commentClass| String| html class for the comment element||
203
-
|| template| React Component| String| define your custom template for the field (check`src/FieldTemplate.js`) or set the template in the template registry using`registerTemplate` and pass the string key here|
|| fieldClass| String| html class for the main html/3-rd party form field||
204
+
|| comment| String| comment / description that goes below the field||
205
+
|| commentAs| String| define the HTML tag to be used for wrapping the comment. (Default: <small />)||
206
+
|| commentClass| String| html class for the comment element||
207
+
|| template| React Component| String| define your custom template for the field (check`src/FieldTemplate.js`) or set the template in the template registry using`registerTemplate` and pass the string key here|
208
+
|| errorAs| String| define the HTML tag to be used for wrapping the error. (Default: <div />)||
209
+
|| errorClass| String| html class for the error element||
204
210
205
211
####Field specific properties
206
212
@@ -254,6 +260,10 @@ containers and keys or use the ones that come with the module.
254
260
| file-uploader| renderer| String| fileuploader|
255
261
|| options| {}| Options available in[react-dropzone plugin](https://react-dropzone.js.org/)|
256
262
|| formGroupClass| String| html class for the div that wraps the form field|
263
+
| inner-text| renderer| String| inner-text|
264
+
|| as| String| HTML tag to use for the inner-text field|
265
+
|| htmlClass| String| HTML class for the tag used|
266
+
|| defaultValue| String| Either used as a static value for the HTML element or as a placeholder when is not defined|
defaultValue:'This isa field comment. You can add yourtexthere'
85
+
defaultValue:'This issome raw html text content: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummytextever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum'