Problem/Motivation

Now when not choosing the default option for the consent, you can't choose not to show the more info button. It WILL show up. And the value of the field is required, so you can't disable it. IMO choosing to show or hide that button should always be there and be followed. There is a text field where the user can enter all the necessary data, so having a button below that doesn't make sense then.

Steps to reproduce

Use the patch from #3134169 and save the settings form.

Proposed resolution

Make sure the show more info button checkbox isn't hidden on non-default consent options so that value can be followed.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

daften created an issue. See original summary.

daften’s picture

Added a patch

svenryen’s picture

Status: Active » Closed (works as designed)

I don't think we will spend time on this. It breaks functionality already delivered, and will likely cause regressions for many of the 1000s of sites that use the module.

I understand that you disagree, but we can't change this.

nick_vh’s picture

Status: Closed (works as designed) » Needs work

Let's rethink this. It seems a more appropriate way to solve this is by means of an option. It would probably be good to default to the current behavior, but by means of an option of perhaps hiding the show more info, this can be solved in a backwards compatible manner.

Let's rework this patch to make it an option is my suggestion. What do you both think?

daften’s picture

I agree with both, just removing it was not the best suggestion on my part. Keeping it backwards compatible, but having the option to remove it, seems like the way to go. It avoids custom patches for people and makes less assumptions than is the case now :)

svenryen’s picture

Sure, reworking this patch to make it an option seems like the best solution.

grayle’s picture

I'm not sure this patch needs reworking? For existing sites, the stored values will remain, so if they relied on the form automatically setting that checkbox to true in the submit if they picked a non-default method, it's already done that. And for new sites, they can simply check the checkbox themselves.

  • daften authored 4b001f0 on 8.x-1.x
    Issue #3162369 by daften, svenryen, Nick_vh, Grayle: The more info...
svenryen’s picture

Status: Needs work » Fixed

Accepted and committed

Status: Fixed » Closed (fixed)

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