template as a prop raw html #1617
Unanswered
airtonctj
asked this question in
Help Wanted
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello good morning, it's me here again =( started on vue and with several doubts lol.....
I would like to know how do I pass an option template from the parent component to the child, for example:
pass the templateOptions variable to a child component and it will be inserted into vue-select
const templateOptions='<template #option="{ id, name }"> <em>{{ id }} {{ name }}</em> </template>';
Beta Was this translation helpful? Give feedback.
All reactions