Show toast msg instead of alert after sending feedback
This commit is contained in:
		
							parent
							
								
									8104657ae9
								
							
						
					
					
						commit
						a3195267c9
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		|  | @ -22,7 +22,13 @@ let FeedbackForm = { | |||
|             } | ||||
| 
 | ||||
|             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 | ||||
|                 // clear out message, in case they need to send another
 | ||||
|                 this.message = "" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar