Objective I am trying to make a basic form that signs a new player up for a sport. This is taken from the Symfony example at: https://symfony.com/doc/current/form/dynamic_form_modification.html#form-events-submitted-data The Code I have 3 entities: PlayerList https://github.com/ChimeraBlack1/Symphart/blob/main/src/Entity/PlayerList.php Sport https://github.com/ChimeraBlack1/Symphart/blob/main/src/Entity/Sport.php Position https://github.com/ChimeraBlack1/Symphart/blob/main/src/Entity/Position.php I have a form: NewPlayerType https://github.com/ChimeraBlack1/Symphart/blob/main/src/Form/NewPlayerType.php I have a controller: NewPlayerController https://github.com/ChimeraBlack1/Symphart/blob/main/src/Controller/NewPlayerController.php The Error: Details: I seem to get this error
Tag: dynamic-forms
Yii2 Dynamic Form Error on Create – The ‘model’ property must be set and must extend from ‘yiibaseModel’
In Yii2, I have been trying to create a dynamic form using the below tutorials. Yii2-dynamicForm – GitHub and Youtube Tutorial. I followed the same step as mentioned in tutorials, unfortunately I …