Skip to content

Additional CSS/JS for Render Setting is not included when there are no items #1421

@cliffparnitzky

Description

@cliffparnitzky

Checklist before I submit this issue report

I confirm that:

My environment is:

(Please fill in the actual values from your environment - check Contao Manager or use composer show)

Key Value Comments
PHP version: 7.3.21
Contao version: 4.4.51
MetaModels version: 2.1.9
Installed MetaModels packages: - variouse attributes
DCG version: 2.1.7

Issue description

Additional CSS/JS for Render Settings is not included in the backend when there are no items (empty list).

Steps to reproduce

  1. Define some CSS for the backend list (e.g. to define the width of the filter selects)
  2. Set the CSS file in the render setting
  3. Open the list and use the search with a value that delivers no results

Describe the behaviour of the application

The additional defined CSS/JS for Render Setting is not included in the backend when there are no items (empty list).

Describe the expected behaviour of the application

The additional defined CSS/JS for Render Setting should also be included in the backend when there are no items (empty list).

Screenshots

At least 30 items ... the CSS for the filter is inclued

s1

No items ... no CSS

s2

Metadata

Metadata

Assignees

Labels

documentationThe documentation should be updated.enhancementThis issue is about an enhancement (aka new feature)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions