Needs review
Project:
Paragraphs Browser
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2019 at 16:44 UTC
Updated:
7 Nov 2023 at 22:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
nortmas commentedagree, for sure not everyone needs it. I also have to remove it with CSS.
Comment #3
gantal commentedTagging for DrupalCamp Colorado's contrib day.
Comment #4
a3hill commentedCan you provide more clarification on which group label you would like to be able to toggle? Is the attached screenshot highlighting the one you are referring to?
Comment #5
w01f commentedSorry for the late reply - I'm referring to the group label being shown on the form display as in the attached screenshot.
Comment #6
a3hill commentedThanks for the screenshot W0LF!
Added a checkbox to the field widget where this can be controlled.
Comment #7
a3hill commentedComment #8
w01f commentedThanks @a3hill! I've tested the patch and it works well to hide the group label.
I have 2 other suggestions/requests though.
1. Even hiding the possibly unnecessary group label, the paragraph type label and fields can also be named similarly - perhaps adding an option to hide the paragraph label (and not the icon)?
2. When using custom paragraph icons, the default width of 16px can smush the icon. Would it be possible to change the css from:
to something like:
I'm including a few screenshots to show:
Comment #9
gantal commentedRe-tagging for DrupalCamp Colorado's upcoming contrib day.
Comment #10
hlopez commentedRe-roll, original patch failed to apply on 8.x-1.1.
Comment #11
hlopez commentedAdded option and functionality to also hide the group filter.
Comment #12
hlopez commentedHide filter select instead of completely removing to allow use of search functionality. Better checking of component configuration for
show_group_labelandshow_group_filter.