Godofbrowser / vuejs-dialog

A lightweight, promise based alert, prompt and confirm dialog
MIT License
351 stars 111 forks source link

promptHelp does nothing #56

Open teja42 opened 5 years ago

teja42 commented 5 years ago

I'm using default everything and when doing some thing like this promptHelp is not replaced by the default prompt text :

this.$dialog
.prompt({
    title: "some title",
    body: "some body <a href='url'>link</a>",
    promptHelp: "No matter what i put here it is not displayed"
},{ html: true })
.then((dialog)=>{console.log(dialog.data)})
.catch(()=>{})
18945168 commented 5 years ago

it work if you put it in second arguments

alexeybar commented 5 years ago

Could you write it in docs?

kcdrez-dwd commented 5 years ago

+1 please update the documentation. This was frustrating to figure out since the documentation has the promptHelp listed in the first argument.