Skip to content

Commit

Permalink
feat(label): add for attr
Browse files Browse the repository at this point in the history
  • Loading branch information
14nrv committed Oct 24, 2020
1 parent 847a83c commit 0568eb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Fields/Label.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template lang="pug">
label.label(:for="item.label | slugify", v-if="item.showLabel !== false")
label.label(:for="item.for || item.label | slugify", v-if="item.showLabel !== false")
p {{ item.alternativeLabel || item.label }}
span.helpLabel.has-text-grey-light.is-size-7.is-italic(v-if="item.help") {{ item.help }}
span(v-if="item.isRequired !== false")
Expand Down

0 comments on commit 0568eb2

Please sign in to comment.