react-survey-builder 1.0.94 → 1.0.96

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
@@ -86,6 +86,7 @@ formMethod | string | Required | Verb used in the form submission.
86
86
  actionName | string | Optional | Defines form submit button text. Defaults to "Submit"
87
87
  onSubmit | function | optional | Invoke when submit data, if exists will override form post.
88
88
  onChange | function | optional | Invoke when Change data. only on generator
89
+ onSelect | function | optional | Invoke when ButtonList button is selected. only on generator
89
90
  onBlur | function | optional | Invoke when Blur data. only on generator
90
91
  items | array | Required | Question data retrieved from the database
91
92
  backAction | string | Optional | URL path to go back if needed.
@@ -164,6 +165,7 @@ Then navigate to http://localhost:8080/ in your browser and you should be able t
164
165
  items={form}
165
166
  toolbarItems={toolbarItems}
166
167
  onSubmit={handleSubmit}
168
+ onSelect={handleSelect}
167
169
  actionName="Set this to change the default submit button text"
168
170
  submitButton={<Button variant="primary" type="submit">Submit</Button>}
169
171
  backButton={<Button variant="secondary" onClick={backAction}>Back</Button>}