@engagebay/engagebay-form-module 1.0.8-beta.4 → 1.0.8-beta.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@engagebay/engagebay-form-module",
3
- "version": "1.0.8-beta.4",
3
+ "version": "1.0.8-beta.5",
4
4
  "description": "Provide base form components to reacho",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -199,7 +199,12 @@ const Typeahead2: React.FC<FormFieldComponentPropSchema> = (
199
199
  : result.includes(resData.value)
200
200
  ? [...result.filter((v: string) => v != resData.value), resData.value]
201
201
  : [...result, resData.value];
202
- formContext.setValue(props.fieldConfig.name, result);
202
+ handleChange(
203
+ result,
204
+ formContext,
205
+ props.fieldConfig,
206
+ props.onChange,
207
+ );
203
208
  };
204
209
 
205
210
  const getInput = () => {