Skip to content

Commit 7f4fd69

Browse files
committed
Shorten CSS class for field types
1 parent e1a0919 commit 7f4fd69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/FlowFormQuestion.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
'f-has-value': this.$refs.questionComponent && this.$refs.questionComponent.hasValue
304304
}
305305
306-
classes['field-' + this.question.type.toLowerCase().substring(8)] = true
306+
classes['field-' + this.question.type.toLowerCase().substring(8, this.question.type.length - 4)] = true
307307
308308
return classes
309309
}

0 commit comments

Comments
 (0)