The RedHen Email form field looks wonky if you set the field to allow only a single value. The primary issue is that the field label won't display, but setting that to display again causes some strange layout issues. Patch incoming...

Comments

anemirovsky’s picture

Status: Active » Needs review
StatusFileSize
new3.46 KB

The attached patch does the following:

  • Adds a wrapper div and class if the field only allows for a single value, which allows us to easily style those fields separately from the multiple value fields.
  • Fixes the alignment of the email field options if the field only allows a single value.
  • Fixes the styling to hide the field label only if the field allows for multiple values.
  • BONUS: Only show the email labels select field if there are label options configured for this field.

  • tauno committed 9d38fe3 on 7.x-1.x authored by anemirovsky
    Issue #2279291 by anemirovsky: Fixed RedHen Email form field doesn't...
tauno’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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