blob: 6108efc3a1a627a1f70e2accac466856cd5f0fdc [file] [log] [blame]
<template>
<vue-typeahead-bootstrap
v-model="usernameSearch"
:data="typeheadData"
:serializer="item => item.username ? item.username : item.name"
@hit="selectSearchResult"
>
<template slot="suggestion" slot-scope="{ data, htmlText }">
<small v-if="!data.username" style="font-size: 10px">GROUP <br/></small>
<span v-html="htmlText"></span>
</template>
</vue-typeahead-bootstrap>
</template>
<script>
export default {
name: "user-tenant-roles-select",
}
</script>
<style scoped>
</style>