diff --git a/public/js/components/Form/Input.js b/public/js/components/Form/Input.js index accd30a0e..e36658160 100644 --- a/public/js/components/Form/Input.js +++ b/public/js/components/Form/Input.js @@ -24,7 +24,8 @@ export default { inputGroup: Boolean, type: String, name: String, - containerClass: [String, Array, Object] + containerClass: [String, Array, Object], + label: String }, data() { return { @@ -174,7 +175,7 @@ export default { let uuid = this.$attrs.id; if (this.lcType == 'datepicker') uuid = this.$attrs.uid; - if (!uuid && this.$attrs.label) + if (!uuid && this.label) uuid = 'fhc-form-input'; if (!uuid) return undefined; @@ -236,7 +237,7 @@ export default { }, template: ` - +