Use constructor of mapped type with readonly parameters
SendiMyrkr opened this issue · comments
I think that there should be condition in here https://github.com/nette/forms/blob/master/src/Forms/Container.php#L144 extended for readonly class(PHP 8.2+) and readonly parameters(properties) no matter if parameters are optional or not.
Can you elaborate more?