Update placeholder if y-axis default title is empty
parent
83aa2da7fa
commit
ba9e5f2916
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue