space10-community / conversational-form

Turning web forms into conversations
https://space10-community.github.io/conversational-form/
MIT License
3.8k stars 775 forks source link

conversational form and meteor.js #249

Closed diedea closed 6 years ago

diedea commented 6 years ago

Created a separate issue from #218 since there seems to be another (meteor specific?) problem:

When using the npm package in meteor, the chat form is displayed and works partly (e.g. robotResponseTime can be set unusually high), however other options such as robotImage/userImage cannot be set, fieldset/radio buttons does not work properly (all buttons from several fieldsets are displayed together) and cf.EventDispatcher throws the infamous "cf.EventDispatcher is not a constructor" error (#218, #247)

I put together a sample repository here.

Do the form options somehow differ from each other so that one works and the other one doesn't? Does anyone using Webpack/React... have similar issues? I'm a little confused and don't really know where to start reading/digging into.

jenssogaard commented 6 years ago

Thanks @diedea. I'll try to take a look very soon.

diedea commented 6 years ago

got it to work by including the script (not the package) and setting my options directly in there - not ideal, but working at least