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