Problem/Motivation

There is no way to save configuration on `Paragraphs library item settings` form.
Path: /admin/config/content/paragraphs_library_item

Steps to reproduce

- Enable any module that adds some configuration to this form (for example, Rabbit Hole).
- There is no `Save configuration` button on the form.

Proposed resolution

LibraryItemSettingsForm::buildForm should call parent method ConfigFormBase::buildForm.

User interface changes

Before (no settings):
before - 1

Before (3rd-party settings available):
before - 2

After:
after

Issue fork paragraphs-3213800

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bohart created an issue. See original summary.

bohart’s picture

Status: Needs work » Needs review

Tested locally on: Drupal 9.1.7 + Paragraphs 8.x-1.12.

matroskeen’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new48.7 KB
new60.43 KB
new73.36 KB

#3213798: Paragraphs Library support is landed, so now this form has a configuration if the Rabbit Hole submodule is enabled.

It might look confusing because we have "There are no settings yet." sentence and at the same time the "Rabbit Hole settings" fieldset is available.
I consider it as a minor point that shouldn't block this issue, therefore moving it to RTBC.

I'm adding screenshots to the issue summary to make it easier for maintainers to review.

taniachque made their first commit to this issue’s fork.

taniachque’s picture

Status: Reviewed & tested by the community » Needs review
deepalij’s picture

Applied patch (MR) #5 on Drupal version 10.1.x-dev
Patch applied cleanly.
Able to reproduce the issue.
The "Save configuration" button is visible now after applying the patch. Patch fixed the issue

Before patch
before

Before patch - with module
before

After patch
after

Can be moved to RTBC
RTBC+1

parisek’s picture

Status: Needs review » Reviewed & tested by the community

Working great thank you, moving to RTBC

Berdir made their first commit to this issue’s fork.

  • Berdir committed 87146ba3 on 8.x-1.x authored by bohart
    Issue #3213800: Save button is missed on`Paragraphs library item...
berdir’s picture

Status: Reviewed & tested by the community » Fixed

Not sure what settings rabbit hole adds here exactly and it's a bit weird to have a button when there are no settings, but fine I suppose.

Status: Fixed » Closed (fixed)

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