formio / vue

Javascript Powered forms and JSON form builder for Vue.js
MIT License
119 stars 65 forks source link

Upgrade to the latest formio.js #9

Closed jeremi closed 6 years ago

jeremi commented 6 years ago

It seems this lib has not been updated to the latest version of form.io. I tried to just upgrade the formio.js version but there seem to be some incompatibilities.

The issue I'm getting is related to the builder when the component is unloaded:

TypeError: this.builder.destroy is not a function
    at VueComponent.default_1.destroyed (FormBuilder.js?7cc4:52)
    at callHook (vue.esm.js?a026:2921)
    at VueComponent.Vue.$destroy (vue.esm.js?a026:2725)
    at destroy (vue.esm.js?a026:4178)
    at invokeDestroyHook (vue.esm.js?a026:5743)
    at invokeDestroyHook (vue.esm.js?a026:5748)
    at removeVnodes (vue.esm.js?a026:5759)
    at updateChildren (vue.esm.js?a026:5864)
    at patchVnode (vue.esm.js?a026:5936)
    at VueComponent.patch [as __patch__] (vue.esm.js?a026:6096)
jeremi commented 6 years ago

@randallknutson could you guide me on how to fix it?

randallknutson commented 6 years ago

Updating now. You can always manually install a version with "npm install --save formio.js@3.0.0"

indingpig commented 6 years ago

@randallknutson The problem is still exist. The version of vue-formio is 3.0.0.