Turning web forms into conversations
This release includes minor bugfixes:
Breaking changes
EventDispatcher
and FlowEvents
using imports. Now imports should look like:
import { ConversationalForm, FlowEvents, EventDispatcher } from 'conversational-form';
Other changes worth mentioning
theme
option. See docs.showProgressBar
. See docs.scrollAcceleration
was misspelled #268max
and min
attributes on input elementsemail
is now validated using pattern from emailregex.com
list
attribute on input elements. Native autocomplete using datalists.As always - If you experience any issues or need support please submit an issue.
NEW FEATURES
preventSubmitOnEnter
that disables default submit on enter-keypress behaviour #270<textarea rows="2">
which renders a taller input field (enter still submits the answer unless the above option is in effect which will result in line break)BUG FIXES
This update fixes issue #256 - Parsing SVG icons in IE, Edge, Firefox.
This release introduces the option to do robot messages using the tag <cf-robot-message cf-questions="Hi friend." />
. The tag supports conditionals, value piping etc. - just like the input tag. (feature discussed in issue #200). See updated docs.
Other changes:
userInterfaceOptions
This patches an issue where robotImage/userImage would be presented as text string when using relative image path. This issue was introduced along with the option to show text instead of an image (v0.9.70). Displaying text instead of an image is possible using the below syntax:
new cf.ConversationalForm({
formEl: myForm,
robotImage: "text:CF",
userImage: "text:ME"
});
&&
within cf-questions.hideUserInputOnNoneTextInput