philiplb / CRUDlex

CRUDlex is an easy to use CRUD generator for Symfony 4 and Silex 2 which is great for auto generated admin pages
https://philiplb.de/crudlex/
MIT License
109 stars 23 forks source link

Prefilled Form Fields on the Creation Page doesn't work #76

Closed k20human closed 7 years ago

k20human commented 7 years ago

In the doc it's mention that we can prefilled fields with GET parameters

But when i try it doesn't work ... Did i miss something?

Here is my crud.yml:

difficulty:
    label: Difficulté
    table: difficulty
    fields:
        name:
            type: text
            label: Nom

I try this : http://localhost:8181/index_dev.php/crud/difficulty/create?name=toto And my "Name" field is empty

philiplb commented 7 years ago

Just reproduced it. Confirmed, that broke at some point. Thank you for reporting, will be fixed soon. :)

philiplb commented 7 years ago

Fixed in https://github.com/philiplb/CRUDlex/commit/09c67e0eb42d195fe92b269b38b415db4072c967