Skip to content

Commit

Permalink
Add default slot to input-field
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjahr committed Jan 15, 2022
1 parent ee83e3e commit 30e7a42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/input-field.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@

tooltip-btn(v-if='tooltip' :tooltipActive='tooltipActive' @click.native='tooltipClick')

//- Default slot. Lets you render extra buttons etc inside .input-wrap
slot

//- Error message
transition(name='vf-slide'): .vf-error-message(v-if='error && !tooltipActive') {{ error }}
//- Tooltip message
Expand Down

0 comments on commit 30e7a42

Please sign in to comment.