Problem/Motivation
Don't display the "@size limit" for file.
Steps to reproduce
1- Add file element
2- You can see the "@size limit"
3- The code is already there but need to update the condition
$descriptions = array_filter(
$variables['descriptions'],
fn($description) => $file_limit_description->getUntranslatedString() != '@size limit.'
);
Proposed resolution
Fix the condition:
$descriptions = array_filter(
$variables['descriptions'],
fn($description) => $description->getUntranslatedString() != '@size limit.'
);
Comments
Comment #5
asghar commentedComment #7
jrockowitz commentedThe MR makes sense to me.
Comment #8
jrockowitz commented