This is an example of code i used
render () {
this.$Modal.confirm({
render: (h) => {
// input
return h('Input', {
props: {
value: this.value,
autofocus: true,
placeholder: 'Please enter your name...'
},
on: {
input: (val) => {
this.value = val;
}
}
})
}
})
}
I really do not know how to add another input in this
The render function has to return a single parent element/component. So you need to replace that
Inputcomponent with adivfor example, and then create its children.A example would be:
jsFiddle: https://jsfiddle.net/Sergio_fiddle/ckgjzrf5/