@bigbinary/neeto-form-frontend 1.0.31 → 1.0.33
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 +2 -0
- package/dist/index.cjs.js +51049 -45968
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +51061 -45980
- package/dist/index.js.map +1 -1
- package/dist/main.css +1 -1
- package/index.d.ts +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -79,6 +79,7 @@ import { BuildForm } from "@bigbinary/neeto-form-frontend";
|
|
|
79
79
|
| `kindUniqueOn` | `string[]` | To specify the prop used for uniquely identifying each question kind. Accepts the path of the prop as a `string[]`. The default value will be `["type"]` |
|
|
80
80
|
| `isFieldRequired` | `(item: Item) => boolean;` | To specify whether a question is required or not. The function will receive `item` as an argument and returns a boolean value. Fields that return `true` will be treated as required by default in the External form |
|
|
81
81
|
| `isQuestionDeletable` | `(item: Item) => boolean;` | To specify whether a question is deletable or not. The function will receive `item` as an argument and returns a boolean value. Fields that return `true` cannot be removed from a form. |
|
|
82
|
+
| `allowAdditionalGuests` | `boolean` | To specify whether we need to allow additional guests input field in the form. If specified as `true` a checkbox will be displayed in the form to allow additional guests. The default value will be `false`. (neetoCal specific) |
|
|
82
83
|
|
|
83
84
|
`ExternalForm` component is used to render a form.
|
|
84
85
|
|
|
@@ -110,6 +111,7 @@ import { ExternalForm } from "@bigbinary/neeto-form-frontend";
|
|
|
110
111
|
| `clearValuesOnReset` | `boolean` | To clear local storage values on reset |
|
|
111
112
|
| `formDomProps` | `object` | To set props for form element |
|
|
112
113
|
| `initialValues` | `object` | To set initial values for form |
|
|
114
|
+
| `editorProps` | `object` | To set neetoEditor props for `rich_text` input field |
|
|
113
115
|
| `onChange` | `function` | Callback for form field values change |
|
|
114
116
|
|
|
115
117
|
`Submission` component is used to render a form result.
|