Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

promptHelp does nothing #56

Open
teja42 opened this issue Jun 25, 2019 · 3 comments
Open

promptHelp does nothing #56

teja42 opened this issue Jun 25, 2019 · 3 comments

Comments

@teja42
Copy link

teja42 commented Jun 25, 2019

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
Copy link

it work if you put it in second arguments

@alexeybar
Copy link

Could you write it in docs?

@kcdrez-dwd
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants