Fix 'input' event when autocomplete selection is cleared
This commit is contained in:
		
							parent
							
								
									a6555b7bae
								
							
						
					
					
						commit
						b378033426
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -58,7 +58,7 @@ export default {
 | 
			
		|||
 | 
			
		||||
        selectionMade(option) {
 | 
			
		||||
            this.selected = option
 | 
			
		||||
            this.$emit('input', option.value)
 | 
			
		||||
            this.$emit('input', option ? option.value : null)
 | 
			
		||||
        },
 | 
			
		||||
 | 
			
		||||
        // TODO: buefy example uses `debounce()` here and perhaps we should too?
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue