Skip to content

How can I have Label concatenation #1263

Answered by wazum
balduinofernando asked this question in Q&A
Discussion options

You must be logged in to vote

Use the slots, see documentation, example:

<template slot="option" slot-scope="option">
    {{ option.label }}<br>
    <small class="text-muted">
        {{ option.address.zipCode }}
        {{ option.address.city }},
        {{ fullStateName(option.address.country, option.address.state) }},
        {{ fullCountryName(option.address.country) }}
    </small>
</template>

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sagalbot
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1263 on December 18, 2020 19:43.