Vue rendering child component after this.emit form child component

I am currently sending filters from child component to parent like this:

filter_all(){
this.$emit(‘filters-apply-to-all’, this.selectedMedianGroup)
}
this is parent componet:
filterAllQuestions(e){
this.selectedMedianGroup = e
return e
}
I am passing selectedMedianGroup as a props to child componet
<InstructorQuestions
v-bind:selectedMedianGroupAll=“selectedMedianGroup”
@filters-apply-to-all=“filterAllQuestions” />

How can I render the child component with the selectedMedianGroup in ?

The code provided is currently not properly formatted for this forum. In its current state it’s illegible which makes it hard for people to help you.

Please read the following guide about how to properly format code and then edit your topic accordingly.

Thanks!