Skip to content

Documentation code example not working  #25

@Shotman

Description

@Shotman

After following the example code in the README this is not working on symfony 4 or 5.
I get an error "cannot call method createForm on null", this I've noticed it can be fixed by adding a constructor in the DynamicFormAware trait like this
public function __construct() { $this->dynamicFormFactory = new FormFactory(); }
but then I get an error that the key "new_user" is not found, so I don't know where the form yaml should be put.

Could you update the doc and/or the bundle please ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions