v2.0.0-beta.8
Fixed:
- Fixed an issue where bot typing indicator is not shown when
params.goToPath
is used
Added:
- A new
params.setTextAreaValue
has been added for users to directly set the text area value - A new
params.injectToast
has been added for users to show toasts within the chatbot - A new
toast
section has been added tosettings
which contains 3 properties (maxCount
,forbidOnMax
anddismissOnClick
) along with 3 new additions tostyles
(toastPromptContainerStyle
,toastPromptStyle
,toastPromptHoveredStyle
) - The
checkboxes
block attribute now accepts an array of strings as well, and will populateitems
property with it (all other values defaulted) - The
checkboxes
block attribute has 2 new propertiessendOutput
andreusable
, which determines whether the selected checkboxes should be sent in chat and whether the checkboxes can be reused - The
options
block attribute now accepts an object as well, accepting 3 properties which areitems
,sendOutput
andreusable
(current array input still works)
Note:
This update adds on to and expands the checkboxes
and options
block attributes. There are no breaking changes but if users are keen to leverage on the new features, do refer to the attributes documentation. In addition, 2 new parameters (params.setTextAreaValue
and params.injectToast
) have also been added which greatly enhances the capabilities of the chatbot and sets the groundwork for the impending events/plugins update. Details of their usage can be found in params documentation.