ditdot-dev / vue-flow-form

Create conversational conditional-logic forms with Vue.js.

Home Page:https://www.ditdot.hr/en/vue-flow-form

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How could I put a question with a custom input?

miguelgarces123 opened this issue · comments

I would like to use v-select to override the select type you have in the package, but I don't see a way to incorporate custom input.

Do you already have this option available?.

Great this package, thanks!

Hi @miguelgarces123,

Vue Flow Form doesn't support this by default although custom input types are something we'd like to add in a future version. To do this now, you'd have to clone the GitHub project and create a custom input type by extending src/components/QuestionTypes/BaseType.vue, and then adding that custom question type to src/models/QuestionModel.js. Also make sure you're using Vue Flow Form v1.1.7 since Vue Select doesn't seem to be supporting Vue 3 for now (there does seem to be a fork that does, though).