Two Office Hours fields have been added to a content type, along with a number of other text and term reference fields. The two Office Hour fields still display their label when left empty, completely untouched. All other fields hide their labels when empty, as is default in D7.

I do not think it is the theme interfering because the site is in dev and still using Bartik 7.9.

Is this happening to others?

Comments

ASMBL’s picture

This remains an issue. I thought it might have something to do with the break as separator in the Display Office Hours in different format display options, however removing it and all other separator values do nothing to get rid of the label. With no values selected, and no hidden values (breaks) in the display, the label is still being shown as if there is a hidden value. This has been the case from the start, right from installation.

I've changed themes and the label still shows.

Hiding the labels from display will not help because there are two Office Hour fields on the same page, so the labels need to be there for context. This content type constitutes 200 pages of the site, not just an about page on a small site where the values would always be filled in. Most of the time, particularly at the start, the values will not be filled in, leaving empty labels hanging in the middle of the page.

johnv’s picture

Status: Active » Fixed

This is committed with commit ca97907

ASMBL’s picture

Thanks

ASMBL’s picture

Just upgraded to the 14 March release. Awesome!

johnv’s picture

:-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.