FileWidget - validateMaxFilesize sets value outside settings array.

Created on 28 March 2024, 3 months ago
Updated 4 April 2024, 3 months ago

Problem/Motivation

This was an oversight from the code copied from Core. We have extra array parents to account for.

Steps to reproduce

Enter max filesize text string with extra spaces.

Proposed resolution

Change the setValue to the $element['#parents'] property.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States apmsooner

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

Comments & Activities

Production build 0.69.0 2024