Show toast msg instead of alert after sending feedback
This commit is contained in:
parent
8104657ae9
commit
a3195267c9
|
@ -22,7 +22,13 @@ let FeedbackForm = {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.submitForm(this.action, params, response => {
|
this.submitForm(this.action, params, response => {
|
||||||
alert("Message successfully sent.\n\nThank you for your feedback.")
|
|
||||||
|
this.$buefy.toast.open({
|
||||||
|
message: "Message sent! Thank you for your feedback.",
|
||||||
|
type: 'is-info',
|
||||||
|
duration: 4000, // 4 seconds
|
||||||
|
})
|
||||||
|
|
||||||
this.showDialog = false
|
this.showDialog = false
|
||||||
// clear out message, in case they need to send another
|
// clear out message, in case they need to send another
|
||||||
this.message = ""
|
this.message = ""
|
||||||
|
|
Loading…
Reference in a new issue