Closed
Description
Hello,
I've encountered an interesting error while creating my form.
I have a collection of 'screenshot' in it, and when I submit a valid form, I have an alert saying that there's no function addScroonshot declared.
I've done a little research and I think the problem might come from StringUtil::singularify function which contains at the end:
// Convert teeth to tooth, feet to foot
if (false !== ($pos = strpos($plural, 'ee')) && strlen($plural) > 3 && 'feedback' !== $plural) {
return substr_replace($plural, 'oo', $pos, 2);
}
Maybe I'm just wrong, and I'll appreciate your help!
Thanks!