[2.0.0-beta1] Fix InvalidComponentException in links' text property

Created on 9 August 2024, 3 months ago
Updated 12 August 2024, 3 months ago

Problem/Motivation

While testing ui_suite_uswds and AFTER uninstalling ui_pattern_devel notice that pager starts throwing a fatal error

Drupal\Core\Render\Component\Exception\InvalidComponentException: [items[0].title] Integer value found, but a string is required/n[items[1].title] Integer value found, but a string is required in Drupal\Core\Theme\Component\ComponentValidator->validateProps() (line 203 of core/lib/Drupal/Core/Theme/Component/ComponentValidator.php).

Steps to reproduce

Using ui_suite_uswds
Create a view that uses pagination
See fatal error

Proposed resolution

Cast as string?

Remaining tasks

Review

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States smustgrave

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024