Skip to content

Use HTML in q-input suffix #8876

Discussion options

You must be logged in to vote

I think you can use the append slot for this.

I.e.:

      <q-input model-value="test" title="test">
        <template v-slot:append>
          <span class="text-grey-9 text-body2"><small>gram <i>(g)</i></small></span>
        </template>
      </q-input>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hawkeye64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants