We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bbf691 commit 39a8cf7Copy full SHA for 39a8cf7
1 file changed
src/Forms/Helpers.php
@@ -94,7 +94,7 @@ private static function sanitize(int $type, $value): string|array|Nette\Http\Fil
94
*/
95
public static function generateHtmlName(string $id): string
96
{
97
- $name = str_replace(Nette\ComponentModel\IComponent::NAME_SEPARATOR, '][', $id, $count);
+ $name = str_replace(Nette\ComponentModel\IComponent::NameSeparator, '][', $id, $count);
98
if ($count) {
99
$name = substr_replace($name, '', strpos($name, ']'), 1) . ']';
100
}
0 commit comments