Problem/Motivation

Custom radio buttons without label are currently hidden in the markup. This becomes obvious with Diff module enabled on the "Revisions" overview page rendered with bs_base.

Screenshot:

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

mbovan created an issue. See original summary.

mbovan’s picture

Issue summary: View changes

Updated the IS to clarify that given example happens with Diff module enabled. :)

sasanikolic’s picture

Here is a patch with the fix.

sasanikolic’s picture

Status: Active » Needs review
sasanikolic’s picture

Somehow extra compiled stuff got into the patch. Removed those now.

pivica’s picture

Status: Needs review » Needs work

Looks good, please can you provide a screenshot also?

> Somehow extra compiled stuff got into the patch. Removed those now.

Feel free to remove this, we compile bs_bootstrap CSS only when we create a new release.

pivica’s picture

+++ b/themes/bs_bootstrap/sass/components/partials/_forms.scss
@@ -337,8 +337,17 @@ details {
+      // Display custom inputs if it has no label.

Can we get this comment more verbose so we note exactly why we are doing this and what problem we are solving?

sasanikolic’s picture

Status: Needs work » Needs review
StatusFileSize
new165.8 KB

Providing the screenshot after the change.

sasanikolic’s picture

And here is the patch with the improved comment.

pivica’s picture

Status: Needs review » Needs work
+++ b/themes/bs_bootstrap/css/components/forms.css
@@ -1023,6 +1023,12 @@ details[open] > summary::before {
+.custom-control-input:only-child {
...
+}

Feel free to remove this, as explained in previous comment - we compile bs_bootstrap only on point releases.

sasanikolic’s picture

Status: Needs work » Needs review
StatusFileSize
new797 bytes
new517 bytes

Oh sorry, removed that now.

pivica’s picture

Status: Needs review » Reviewed & tested by the community

Perfect, ready to be committed in next point release.

pivica’s picture

Issue tags: +next-point-release-merge

  • pivica committed fa0ca33 on 8.x-1.x authored by sasanikolic
    Issue #2969609 by sasanikolic, mbovan, pivica: Radio buttons without...
pivica’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: -next-point-release-merge

Committed.

Status: Fixed » Closed (fixed)

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