Hey,

I've notices, that die SubscriptionBlockForm print the message form element in any case.
The message field on the BlockForm is optional, so the BlockForm should handle this to not print empty HTML containers.

It is a tiny change, but an improvement for frontend related stuff.
In my case, there is a empty bordered form-element what I want to avoid.

I will attach a patch for that.

What do you think?

Comments

sunlix created an issue. See original summary.

sunlix’s picture

StatusFileSize
new706 bytes
adamps’s picture

Version: 8.x-1.x-dev » 8.x-2.x-dev

Seems reasonable. Patches should be against the 2.x version now please.

sunlix’s picture

StatusFileSize
new593 bytes

Okay. Here is the patch against 8.x-2.x branch.

adamps’s picture

Status: Active » Reviewed & tested by the community
Issue tags: +Plan to commit

Looks good to me, will commit.

  • AdamPS committed edd2766 on 8.x-2.x authored by sunlix
    Issue #3112819 by sunlix: SubscriptionsBlockForm should print "message"...
adamps’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: -Plan to commit

Status: Fixed » Closed (fixed)

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