0👍
✅
i managed to get the data like this in the function:
selecionar(value){
console.log(value)
}
Thanks for all help and time.
0👍
Your error indicates the e
in your method returns undefined
. The reason is because there’s a typo: you should be using $event
and not $e
: see the documentation.
<b-form-select @change="selecionar($event)"></b-form-select>
Additionally, if you’re not passing any additional arguments, you don’t need to use pass the special $event
argument at all. Using @change="selecionar()
will be sufficient, i.e.:
<b-form-select @change="selecionar()"></b-form-select>
Then, you will have access to the native Event
object in your method.
Source:stackexchange.com