sethsandaru / vue-form-builder

Super Form Builder built on top of Vue with Drag & Drop functionality, savable-form-schema and easy to maintain/upgrade your form.
http://vue-form-builder.sethphat.com
MIT License
413 stars 129 forks source link

[Vue warn]: Error in created hook: "TypeError: _.accessStr is not a function" and Error in v-on handler: "TypeError: _.domUniqueID is not a function" #42

Closed abhimanusharma closed 4 years ago

abhimanusharma commented 4 years ago

I am using this package on single component instead of global. I am getting this error on component load.

[Vue warn]: Error in created hook: "TypeError: _.accessStr is not a function"

found in

---> TypeError: _.accessStr is not a function
    at Object.Hooks.push (hook_lists.js?fe07:38)
    at Object.ValidateSettingHandler.init (validate_setting_handler.js?572f:6)
    at VueComponent.created (FormBuilder.vue?cfcd:136)
    at invokeWithErrorHandling (app.js:221590)
    at callHook (app.js:223896)
    at VueComponent.Vue._init (app.js:224684)
    at new VueComponent (app.js:224842)
    at createComponentInstanceForVnode (app.js:222963)
    at init (app.js:222810)
    at createComponent (app.js:225620)

I see the following UI. form-builder-ui

When I click on Add section, I get below error.

TypeError: _.domUniqueID is not a function
    at VueComponent.addSection (SectionComponent.vue?217d:78)
    at invokeWithErrorHandling (app.js:221590)
    at HTMLButtonElement.invoker (app.js:221921)
    at HTMLButtonElement.original._wrapper (app.js:227216)
sethsandaru commented 4 years ago

Hi friend,

Vue-Form-Builder@2.0.0 has been released. Check it out.

P/s: I closed this issue because it's not related to Vue-Form-Builder@2.0.0 Thanks.