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

Subtitle message is not showing up #1

Open
sbardewa opened this issue Mar 8, 2020 · 1 comment
Open

Subtitle message is not showing up #1

sbardewa opened this issue Mar 8, 2020 · 1 comment

Comments

@sbardewa
Copy link

sbardewa commented Mar 8, 2020

In "vue-unsaved-changes-dialog: "^1.3.0", the subtitle field in the dialog box is empty despite the subtitle prop is non-empty with a valid message.
With the following props:
<UnsavedChangesDialog :title=this.message :subtitle="['You have unsaved changes', 'Would you like to save or discard them?']" :show="shouldShowDialog" @cancel="closePopup" @discard="discard" @save="save" />
The output is as follows:
image

@AnalyzePlatypus AnalyzePlatypus added bug Something isn't working repro-needed labels Mar 8, 2020
@AnalyzePlatypus
Copy link
Owner

This seems to be working OK in all of my projects.
Can you provide an example project or jsfiddle?

in your example code,:title=this.message is missing quotes. Perhaps that's causing the issue?
(Correct syntax is :title="message")

@AnalyzePlatypus AnalyzePlatypus removed the bug Something isn't working label Mar 8, 2020
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

2 participants