Skip to content
This repository was archived by the owner on Apr 25, 2020. It is now read-only.

Commit 16aa7a2

Browse files
authored
Label for Select html tag
Fix Travis' errors for the new features to show label for the Select html tag
1 parent c334168 commit 16aa7a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/FloatLabel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default {
2323
this.input = this.$el.querySelector('input, textarea, select')
2424
this.width = `${this.input.clientWidth}px`
2525
this.label = this.input.placeholder
26-
if ( ! this.label) this.label = this.input.attributes["placeholder"].nodeValue
26+
if (!this.label) this.label = this.input.attributes['placeholder'].nodeValue
2727
this.input.addEventListener('input', this.updateHasValue)
2828
this.input.addEventListener('input', this.updateIsActive)
2929
this.input.addEventListener('blur', this.updateIsActive)

0 commit comments

Comments
 (0)