Align [] replacement with FormField
This commit is contained in:
parent
b3d716ee4d
commit
c6aca8cd18
|
|
@ -131,7 +131,7 @@ abstract class WidgetBase
|
|||
if ($suffix !== null)
|
||||
$id .= '-' . $suffix;
|
||||
|
||||
$id = str_replace(['[', ']'], '__', $id);
|
||||
$id = rtrim(str_replace(['[', ']'], '-', $id), '-');
|
||||
|
||||
return $id;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue