Several disparate changes needed for vendor catalog improvements
- invoke vendor handler where appropriate, e.g. for parsers - reverse "polarity" of dropdown chooser setting; rename it - tweak autocomplete behavior yet again, for dynamic values - auto-select vendor upon parser selection, when possible
This commit is contained in:
		
							parent
							
								
									ab61778d35
								
							
						
					
					
						commit
						88b3279e63
					
				
					 12 changed files with 164 additions and 93 deletions
				
			
		| 
						 | 
				
			
			@ -95,6 +95,22 @@ const TailboneAutocomplete = {
 | 
			
		|||
        }
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    watch: {
 | 
			
		||||
        // TODO: yikes this feels hacky.  what happens is, when the
 | 
			
		||||
        // caller explicitly assigns a new UUID value to the tailbone
 | 
			
		||||
        // autocomplate component, the underlying buefy autocomplete
 | 
			
		||||
        // component was not getting the new value.  so here we are
 | 
			
		||||
        // explicitly making sure it is in sync.  this issue was
 | 
			
		||||
        // discovered on the "new vendor catalog batch" page
 | 
			
		||||
        value(val) {
 | 
			
		||||
            this.$nextTick(() => {
 | 
			
		||||
                if (this.buefyValue != val) {
 | 
			
		||||
                    this.buefyValue = val
 | 
			
		||||
                }
 | 
			
		||||
            })
 | 
			
		||||
        },
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    methods: {
 | 
			
		||||
 | 
			
		||||
        // fetch new search results from the server.  this is invoked
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue