Fix focus for <b-select> shim component
				
					
				
			This commit is contained in:
		
							parent
							
								
									29c9ea1a2b
								
							
						
					
					
						commit
						30238528fe
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -507,6 +507,7 @@ | ||||||
| <%def name="make_b_select_component()"> | <%def name="make_b_select_component()"> | ||||||
|   <script type="text/x-template" id="b-select-template"> |   <script type="text/x-template" id="b-select-template"> | ||||||
|     <o-select :name="name" |     <o-select :name="name" | ||||||
|  |               ref="select" | ||||||
|               v-model="orugaValue" |               v-model="orugaValue" | ||||||
|               @update:model-value="orugaValueUpdated" |               @update:model-value="orugaValueUpdated" | ||||||
|               :expanded="expanded" |               :expanded="expanded" | ||||||
|  | @ -545,6 +546,9 @@ | ||||||
|             }, |             }, | ||||||
|         }, |         }, | ||||||
|         methods: { |         methods: { | ||||||
|  |             focus() { | ||||||
|  |                 this.$refs.select.focus() | ||||||
|  |             }, | ||||||
|             orugaValueUpdated(value) { |             orugaValueUpdated(value) { | ||||||
|                 this.$emit('update:modelValue', value) |                 this.$emit('update:modelValue', value) | ||||||
|                 this.$emit('input', value) |                 this.$emit('input', value) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar