If the optionsCaption value is null or undefined, don't show the caption.