From 488ff1f634f16279dc922b317e15d9bb4c470c3f Mon Sep 17 00:00:00 2001 From: Tony Coconate Date: Sat, 22 Sep 2018 00:31:31 -0500 Subject: [PATCH] Fix placeholder labels --- lib/components.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components.js b/lib/components.js index 2cf4baaa..24d9ec28 100644 --- a/lib/components.js +++ b/lib/components.js @@ -152,7 +152,7 @@ class Component extends React.Component { getLabel() { let label = this.props.options.label || this.props.options.legend; - if (Nil.is(label) && this.getAuto() === "labels") { + if (Nil.is(label) && (this.getAuto() === "labels" || this.getAuto() === "placeholders")) { label = this.getDefaultLabel(); } else { label =