I am currently working on rendering a list with a sublist nested within it. My goal is to establish a reference to the inner list using a naming convention such as list-{id}
. However, I'm encountering difficulties in achieving this desired outcome.
Below is the snippet of code:
<ul class="scrollable-list" ref="getScrollableRef(company.id)">
<li v-for="operation in getOperations(company.id)">
{{company.name}}
</li>
</ul>
Upon inspecting the $refs
object:
$vm0.$refs
Object {getScrollableRef(company.id): Array(13)}
It appears that the value is not being evaluated for some reason. Has anyone else encountered this issue?
Edit: I am actively working to resolve this problem on https://github.com/egoist/vue-mugen-scroll/issues/14