Update placeholder if y-axis default title is empty

pull/10616/head
Andrew Watkins 2017-12-12 14:45:13 -08:00
parent 83aa2da7fa
commit ba9e5f2916
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ const AxesOptions = ({
<div className="form-group col-sm-12">
<label htmlFor="prefix">Title</label>
<OptIn
customPlaceholder={defaultYLabel}
customPlaceholder={defaultYLabel || 'y-axis title'}
customValue={label}
onSetValue={onSetLabel}
type="text"